lite-xl/src/api
Francesco Abbate 70412b520b Fix cursor blinking problem
The problem was that when the editor had no events the cursor was not
blinking because the event loop was blocking on wait_event.

Now we no longer calls wait_event without a timeout if the windows has
the focus. When the window has the focus the timeout is set to 1 / fps
so that the cursor can blinks.

In addition we react to the "focus lost" event to ensure the documents
are redrawn without the cursor.
2020-11-21 16:36:32 +01:00
..
api.c Initial commit 2019-12-28 11:17:56 +00:00
api.h Add meson build configuration 2020-05-25 12:22:23 +02:00
renderer.c Removed xalloc.c/h 2020-05-08 13:41:39 +01:00
renderer_font.c Made font.gc() do null-check in case font.load() failed 2020-04-22 00:41:23 +01:00
system.c Fix cursor blinking problem 2020-11-21 16:36:32 +01:00