kitty/glfw
Connor Welsh fb4d05f7e8
Wayland: Fix crash hiding titlebar on layer-shell windows
inform_compositor_of_window_geometry() calls xdg_surface_set_window_geometry()
unconditionally, but layer-shell surfaces (e.g. those from `kitten panel`) have
no xdg_surface. With hide_window_decorations set to titlebar-only, the panel hits
this geometry call during creation and dereferences the NULL proxy, crashing in
wl_proxy_get_version() with SIGSEGV.

Guard on window->wl.xdg.surface: layer-shell surfaces manage geometry via the
layer surface, so the xdg call is skipped. Normal toplevels are unaffected.
2026-05-30 16:14:55 -04:00
..
__init__.py
backend_utils.c Refactor drop API and implement it on Wayland 2026-02-08 22:05:14 +05:30
backend_utils.h DRYer 2026-02-07 23:11:42 +05:30
cocoa_displaylink.m Nano-optimisation: Avoid using a block with GCD 2025-10-22 13:40:42 +05:30
cocoa_init.m Add debug logging for NSDraggingSession 2026-05-14 08:16:03 +05:30
cocoa_joystick.h
cocoa_joystick.m sprintf -> snprintf 2024-02-25 09:57:30 +05:30
cocoa_monitor.m Add some missing assertions 2025-08-16 07:38:54 +05:30
cocoa_platform.h Rewrite macOS drop handling code to workaround Apple's insanely limited API 2026-05-16 13:06:23 +05:30
cocoa_window.m Fix #10054 2026-05-22 07:57:41 +05:30
context.c Revert 72272ab4fe 2024-06-02 19:24:00 +05:30
dbus_glfw.c Linux: Handle desktop settings portals that are so old they don't implement ReadOne 2025-05-08 15:22:42 +05:30
dbus_glfw.h Linux: Handle desktop settings portals that are so old they don't implement ReadOne 2025-05-08 15:22:42 +05:30
egl_context.c Fallback to eglGetDisplay() when eglGetPlatformDisplayEXT() returns EGL_NO_DISPLAY 2025-08-16 08:13:40 +05:30
egl_context.h
glfw.py macos: explicitly enable modern window corners on macOS 26 2026-04-18 20:41:38 +08:00
glfw3.h Properly pass source actions to drop events 2026-05-14 11:07:52 +05:30
glx_context.c Add some missing assertions 2025-08-16 07:38:54 +05:30
glx_context.h
ibus_glfw.c Fix multiple security vulnerabilities across C, Python, and Go code 2026-04-03 16:10:46 +01:00
ibus_glfw.h
init.c Wire up clipboard lost events 2025-03-12 09:26:36 +05:30
input.c glfw/input.c: fix dedup to swap duplicates to end instead of overwriting pointers 2026-05-19 02:12:29 +00:00
internal.h Properly pass source actions to drop events 2026-05-14 11:07:52 +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 ... 2025-11-22 20:03:01 +05:30
linux_desktop_settings.h Function to get the current system color theme 2024-11-07 12:47:06 +05:30
linux_joystick.c O_CLOEXEC for linux joystick open 2024-04-04 10:31:33 +05:30
linux_joystick.h
linux_notify.c Linux: Handle desktop settings portals that are so old they don't implement ReadOne 2025-05-08 15:22:42 +05:30
linux_notify.h Cleanup DBUS send notification API 2024-07-26 23:57:36 +05:30
main_loop.h
mappings.h
memfd.h
momentum-scroll.c Fix #9904 2026-04-22 07:43:57 +05:30
monitor.c Improve handling of output names 2025-05-13 15:29:37 +05:30
monotonic.c
nsgl_context.h
nsgl_context.m Cleanup previous PR 2026-02-23 07:44:58 +05:30
null_init.c
null_joystick.c
null_joystick.h
null_monitor.c chore: remove repetitive words 2024-04-04 13:19:49 +08:00
null_platform.h
null_window.c More work on DnD kitten 2026-05-13 08:25:14 +05:30
osmesa_context.c Add some missing assertions 2025-08-16 07:38:54 +05:30
osmesa_context.h
posix_thread.c
posix_thread.h
source-info.json Wayland: Allow holding momentum scroll by putting two finger on touchpad. Fixes #9863 2026-04-14 09:39:57 +05:30
vulkan.c
window.c Fix spurious mouse release event during drag out of OS window 2026-03-26 14:00:57 +00:00
wl_client_side_decorations.c Support hide_window_decorations titlebar-only on Wayland 2026-02-08 19:49:44 +01:00
wl_client_side_decorations.h Wayland: Fix incorrect window size calculation when transitioning from fullscreen to non-fullscreen with client side decorations 2025-07-17 20:36:38 +05:30
wl_cursors.c
wl_cursors.h
wl_init.c Wayland: Only use key repeat events from server is repeat rate == 0 2026-05-26 08:31:52 +05:30
wl_monitor.c Add some missing assertions 2025-08-16 07:38:54 +05:30
wl_platform.h Wayland: Allow holding momentum scroll by putting two finger on touchpad. Fixes #9863 2026-04-14 09:39:57 +05:30
wl_text_input.c Wayland: Fix infinite loop causing bad performance when using IME via fcitx5 due to a change in fcitx5 2024-04-28 11:30:48 +05:30
wl_text_input.h DRYer 2023-12-24 15:03:56 +05:30
wl_window.c Wayland: Fix crash hiding titlebar on layer-shell windows 2026-05-30 16:14:55 -04:00
wlr-layer-shell-unstable-v1.xml Start work on wayland layer shell support 2024-03-24 20:48:20 +05:30
x11_init.c Implement source_actions for X11 and cocoa DnD backends 2026-05-14 05:46:21 +00:00
x11_monitor.c Add some missing assertions 2025-08-16 07:38:54 +05:30
x11_platform.h Implement source_actions for X11 and cocoa DnD backends 2026-05-14 05:46:21 +00:00
x11_window.c Fix #10082: Re-apply _NET_WM_STATE for X11 layer shell windows on each show 2026-05-28 02:07:59 +00:00
xkb-compat-shim.h Fix misspellings 2023-06-14 03:39:53 +06:00
xkb_glfw.c Linux: Rather than crashing on systems that give us broken keymaps just ignore key events 2026-01-30 19:00:46 +05:30
xkb_glfw.h