kitty/glfw
Kovid Goyal 8244f7cd58
Linux: Only process global state when something interesting happens
This matches behavior on macOS. Had initially set the code to process
on every loop tick in an attmept to workaround the issue of the event
loop freezing on X11 until an X event is delivered. However, in light
of #1782 that workaround was incorrect anyway. Better to have similar
behavior across platforms. This also has the advantage of reducing CPU
consumption.

Also add a simple program to test event loop wakeups.
2019-07-15 21:30:00 +05:30
..
backend_utils.c Fully drain the wakeupfd 2019-07-09 18:49:46 +05:30
backend_utils.h Linux: Use the more efficient eventfd mechanism to wakeup the event loop 2019-07-05 09:54:24 +05:30
cocoa_init.m macOS: Fix a deadlock with CVDisplayLink 2019-07-05 20:16:32 +05:30
cocoa_joystick.h Initial import of glfw 2017-12-01 12:15:36 +05:30
cocoa_joystick.m Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
cocoa_monitor.m macOS: Fix a deadlock with CVDisplayLink 2019-07-05 20:16:32 +05:30
cocoa_platform.h macOS: Fix a deadlock with CVDisplayLink 2019-07-05 20:16:32 +05:30
cocoa_time.c Initial import of glfw 2017-12-01 12:15:36 +05:30
cocoa_window.m Cocoa: Fix code to shutdown display link for inactive monitors 2019-07-11 22:34:28 +05:30
context.c Get rid of GLFW_(TRUE|FALSE) 2019-06-08 08:14:30 +05:30
dbus_glfw.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
dbus_glfw.h Get rid of GLFWbool 2019-06-08 08:12:42 +05:30
egl_context.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
egl_context.h Get rid of GLFWbool 2019-06-08 08:12:42 +05:30
glfw.py Generate Wayland protocol definitions in parallel as well 2019-07-05 20:57:56 +05:30
glfw3.h Get rid of GLFW_(TRUE|FALSE) 2019-06-08 08:14:30 +05:30
glx_context.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
glx_context.h Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
ibus_glfw.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
ibus_glfw.h Get rid of GLFWbool 2019-06-08 08:12:42 +05:30
init.c Get rid of GLFW_(TRUE|FALSE) 2019-06-08 08:14:30 +05:30
input.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
internal.h oops 2019-07-01 16:39:02 +05:30
linux_joystick.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
linux_joystick.h Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
linux_notify.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
linux_notify.h Set a default action name on the dbus notification 2019-02-03 13:53:26 +05:30
main_loop.h Linux: Only process global state when something interesting happens 2019-07-15 21:30:00 +05:30
mappings.h Update bundled glfw 2018-03-03 11:21:09 +05:30
memfd.h Convert some tabs to spaces 2019-02-02 22:08:32 +01:00
monitor.c Reduce the difference of glfw to upstream 2019-06-20 21:40:59 +02:00
nsgl_context.h Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
nsgl_context.m Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
null_init.c Get rid of GLFW_(TRUE|FALSE) 2019-06-08 08:14:30 +05:30
null_joystick.c Get rid of GLFW_(TRUE|FALSE) 2019-06-08 08:14:30 +05:30
null_joystick.h Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
null_monitor.c Reduce the difference of glfw/null_* to upstream 2019-06-12 20:45:21 +02:00
null_platform.h Initial import of glfw 2017-12-01 12:15:36 +05:30
null_window.c Reduce the difference of glfw/null_* to upstream 2019-06-12 20:45:21 +02:00
osmesa_context.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
osmesa_context.h Get rid of GLFWbool 2019-06-08 08:12:42 +05:30
posix_thread.c Get rid of GLFW_(TRUE|FALSE) 2019-06-08 08:14:30 +05:30
posix_thread.h Get rid of GLFWbool 2019-06-08 08:12:42 +05:30
posix_time.c Get rid of GLFW_(TRUE|FALSE) 2019-06-08 08:14:30 +05:30
posix_time.h Get rid of GLFWbool 2019-06-08 08:12:42 +05:30
source-info.json Share main loop implementation between wayland and X11 2019-03-04 19:52:45 +05:30
vulkan.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
wgl_context.c Get rid of GLFW_(TRUE|FALSE) 2019-06-08 08:14:30 +05:30
wgl_context.h Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
window.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
wl_init.c Move event loop wakeup code into backend_utils 2019-07-05 09:34:51 +05:30
wl_monitor.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
wl_platform.h Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
wl_window.c Move event loop wakeup code into backend_utils 2019-07-05 09:34:51 +05:30
x11_init.c Move event loop wakeup code into backend_utils 2019-07-05 09:34:51 +05:30
x11_monitor.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
x11_platform.h X11: Clean up EWMH feature detection 2019-07-01 05:57:17 +05:30
x11_window.c Dont call detect joysticks if support for them has been disabled 2019-07-08 11:18:00 +05:30
xkb_glfw.c Build glfw with all warnings enabled 2019-07-01 10:42:07 +05:30
xkb_glfw.h Get rid of GLFWbool 2019-06-08 08:12:42 +05:30