lite-xl/src
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 Fix cursor blinking problem 2020-11-21 16:36:32 +01:00
main.c Merge remote-tracking branch 'rxi/master' 2020-08-19 10:08:32 +02:00
meson.build Move font renderer in a separate folder as a library 2020-06-04 18:52:01 +02:00
rencache.c Changed rencache to store font tab_width with font command 2020-09-05 15:09:54 +01:00
rencache.h Added rencache invalidation on window-exposed event 2020-05-22 09:00:48 +01:00
renderer.c Merge remote-tracking branch 'rxi/master' 2020-11-17 10:24:27 +01:00
renderer.h Merge remote-tracking branch 'rxi/master' 2020-11-17 10:24:27 +01:00