kitty/glfw
Kovid Goyal 8e73e474b0
X11: Use a single process wide X error handler
Replace the grab/release error handler pattern with a process wide
handler that is installed for the lifetime of the display. Errors are
captured by nestable traps identified by request serial numbers, so
traps only capture errors from requests made while they are open, and
errors from requests not covered by any trap are reported rather than
exiting the process.

Requests to windows owned by other clients (selection requestors, drag
and drop peers) are trapped individually, without waiting for a round
trip to the server, and without covering calls into the application.

Also fix reading uninitialized memory when handling a MULTIPLE
selection request whose requestor window has been destroyed, trap
errors when replying to drag sources, report failure to deliver drag
data, and fix detectEWMH() leaving the error handler installed on an
early return.
2026-11-09 09:01:19 +05:30
..
backend_utils.c Fix #10436 2026-09-04 21:04:24 +05:30
backend_utils.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
cocoa_displaylink.m autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
cocoa_init.m macOS: Fix a possible use-after-free of the tick lock when quitting 2026-10-20 09:20:58 +05:30
cocoa_joystick.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
cocoa_joystick.m autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
cocoa_monitor.m autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
cocoa_platform.h macOS: Fix pasting paths from dropped file promises 2026-09-02 09:35:55 +05:30
cocoa_window.m IME: Show the cursor at the position reported by the input method in the pre-edit text 2026-11-05 08:26:34 +05:30
context.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
dbus_glfw.c Desktop settings: Avoid duplicate portal queries and coalesce titlebar redraws 2026-10-30 10:07:13 +05:30
dbus_glfw.h Desktop settings: Avoid duplicate portal queries and coalesce titlebar redraws 2026-10-30 10:07:13 +05:30
egl_context.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
egl_context.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
glfw.py Implement session saving on Logout for Linux as well 2026-10-19 10:49:22 +05:30
glfw3.h IME: Show the cursor at the position reported by the input method in the pre-edit text 2026-11-05 08:26:34 +05:30
glx_context.c X11: Use a single process wide X error handler 2026-11-09 09:01:19 +05:30
glx_context.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
ibus_glfw.c IME: Show the cursor at the position reported by the input method in the pre-edit text 2026-11-05 08:26:34 +05:30
ibus_glfw.h Cleanup previous PR 2026-10-10 12:45:19 +05:30
init.c Fix #10492 2026-09-19 15:21:29 +05:30
input.c Wayland CSD: Parse the titlebar font description once in glfw 2026-10-30 09:03:46 +05:30
internal.h Wayland CSD: Move titlebar settings handling into the Wayland backend 2026-10-30 08:59:11 +05:30
kwin-blur-v1.xml
linux_desktop_settings.c Desktop settings: Avoid duplicate portal queries and coalesce titlebar redraws 2026-10-30 10:07:13 +05:30
linux_desktop_settings.h Run autoformat 2026-10-30 09:07:45 +05:30
linux_joystick.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
linux_joystick.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
linux_notify.c Linux: Send kitty's .desktop file name to notification servers for grouping 2026-10-23 08:47:19 +05:30
linux_notify.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
linux_session_monitor.c Implement session saving on Logout for Linux as well 2026-10-19 10:49:22 +05:30
linux_session_monitor.h Implement session saving on Logout for Linux as well 2026-10-19 10:49:22 +05:30
main_loop.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
mappings.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
memfd.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
momentum-scroll.c Fix momentum scroll scale not being set for negative deltas 2026-10-05 20:42:16 +05:30
monitor.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
monotonic.c
nsgl_context.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
nsgl_context.m autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
null_init.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
null_joystick.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
null_joystick.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
null_monitor.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
null_platform.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
null_window.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
osmesa_context.c autoformat c/objc code, using clang-format with left alignment for line continuation chars 2026-08-05 19:37:00 +05:30
osmesa_context.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
posix_thread.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
posix_thread.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
source-info.json Implement session saving on Logout for Linux as well 2026-10-19 10:49:22 +05:30
virtual-keyboard-unstable-v1.xml Add API to glfw to inject key and mouse events into wlr supporting Wayland compositors 2026-08-10 15:13:54 +05:30
vulkan.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
window.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
wl_client_side_decorations.c Make CodeQL happy 2026-11-03 13:40:34 +05:30
wl_client_side_decorations.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
wl_cursors.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
wl_cursors.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
wl_init.c Wayland: Fix unbounded wait for xdg_output geometry 2026-11-05 08:52:20 +05:30
wl_inject.c Add API to glfw to inject key and mouse events into wlr supporting Wayland compositors 2026-08-10 15:13:54 +05:30
wl_monitor.c Wayland: Fix unbounded wait for xdg_output geometry 2026-11-05 08:52:20 +05:30
wl_platform.h Wayland: Fix unbounded wait for xdg_output geometry 2026-11-05 08:52:20 +05:30
wl_text_input.c IME: Show the cursor at the position reported by the input method in the pre-edit text 2026-11-05 08:26:34 +05:30
wl_text_input.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
wl_window.c Wayland CSD: Fix various correctness issues 2026-10-30 09:14:43 +05:30
wlr-layer-shell-unstable-v1.xml
wlr-virtual-pointer-unstable-v1.xml Add API to glfw to inject key and mouse events into wlr supporting Wayland compositors 2026-08-10 15:13:54 +05:30
x11_init.c X11: Use a single process wide X error handler 2026-11-09 09:01:19 +05:30
x11_monitor.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
x11_platform.h X11: Use a single process wide X error handler 2026-11-09 09:01:19 +05:30
x11_window.c X11: Use a single process wide X error handler 2026-11-09 09:01:19 +05:30
xkb-compat-shim.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
xkb_glfw.c Re-apply remap_modifiers to a reloaded xkb keymap state 2026-08-13 10:20:20 +01:00
xkb_glfw.h autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30