kitty/glfw
Kovid Goyal a481180d48
Add a mode to report scroll events to programs in full detail
Mode 5523, while mouse tracking is on, makes kitty report each scroll event
as a single CSI > ... M escape code instead of as button 4-7 presses. It
carries integer deltas in v120 units or pixels, with fractions carried
over, the user's scroll multiplier as a hint, the kind of device, the
gesture phase, and flags for momentum and inverted (natural) scrolling,
and the full set of modifiers. Only the sign of the multipliers is applied.

To support this GLFW scroll events now carry the source device, the
gesture phase and whether the direction is inverted, on Wayland, X11 and
macOS. The momentum scroller now forwards the gesture end before starting
momentum and no longer reports a cancel for momentum that never began.
2026-11-16 13:43:41 +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 macOS: Fix a few issues with the new render logic 2026-11-16 13:43:39 +05:30
cocoa_init.m macOS: Require macOS 14 and drop code for older versions 2026-11-16 13:43:37 +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 macOS: Require macOS 14 and drop code for older versions 2026-11-16 13:43:37 +05:30
cocoa_platform.h Move OpenGL context creation from glfw into the GPU driver 2026-11-16 13:43:36 +05:30
cocoa_window.m Add a mode to report scroll events to programs in full detail 2026-11-16 13:43:41 +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
glfw.py Replace sync_to_monitor and repaint_delay with render_interval 2026-11-16 13:43:39 +05:30
glfw3.h Add a mode to report scroll events to programs in full detail 2026-11-16 13:43:41 +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 Move OpenGL context creation from glfw into the GPU driver 2026-11-16 13:43:36 +05:30
input.c Wayland CSD: Parse the titlebar font description once in glfw 2026-10-30 09:03:46 +05:30
internal.h Move OpenGL context creation from glfw into the GPU driver 2026-11-16 13:43:36 +05:30
kwin-blur-v1.xml Wayland KDE: Add support for background_blur under kwin using a kwin private Wayland protocol 2024-03-22 13:41:44 +05:30
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 Add a mode to report scroll events to programs in full detail 2026-11-16 13:43:41 +05:30
monitor.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
monotonic.c
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
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 Move OpenGL context creation from glfw into the GPU driver 2026-11-16 13:43:36 +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 Move OpenGL context creation from glfw into the GPU driver 2026-11-16 13:43:36 +05:30
window.c Move OpenGL context creation from glfw into the GPU driver 2026-11-16 13:43:36 +05:30
wl_client_side_decorations.c Wayland CSD: Re-render on keyboard focus changes 2026-11-15 20:06:45 +05:30
wl_client_side_decorations.h Wayland CSD: Re-render on keyboard focus changes 2026-11-15 20:06:45 +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 Add a mode to report scroll events to programs in full detail 2026-11-16 13:43:41 +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 Add a mode to report scroll events to programs in full detail 2026-11-16 13:43:41 +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 Move OpenGL context creation from glfw into the GPU driver 2026-11-16 13:43:36 +05:30
wlr-layer-shell-unstable-v1.xml Start work on wayland layer shell support 2024-03-24 20:48:20 +05:30
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 Replace sync_to_monitor and repaint_delay with render_interval 2026-11-16 13:43:39 +05:30
x11_monitor.c autoformat c/objc code, using clang-format 2026-08-05 19:10:55 +05:30
x11_platform.h Replace sync_to_monitor and repaint_delay with render_interval 2026-11-16 13:43:39 +05:30
x11_window.c Add a mode to report scroll events to programs in full detail 2026-11-16 13:43:41 +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