Merge branch 'fix-gnome44-transparent-title-bar' of https://github.com/adamschmalhofer/kitty

This commit is contained in:
Kovid Goyal 2024-06-17 20:32:35 +05:30
commit 4a48e96e81
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

2
glfw/wl_window.c vendored
View file

@ -1106,7 +1106,7 @@ create_window_desktop_surface(_GLFWwindow* window)
#ifdef XDG_TOPLEVEL_WM_CAPABILITIES_SINCE_VERSION
if (_glfw.wl.xdg_wm_base_version < XDG_TOPLEVEL_WM_CAPABILITIES_SINCE_VERSION)
memset(&window->wl.wm_capabilities, 0xff, sizeof(window->wl.wm_capabilities));
memset(&window->wl.wm_capabilities, 0x00, sizeof(window->wl.wm_capabilities));
#endif
xdg_toplevel_add_listener(window->wl.xdg.toplevel, &xdgToplevelListener, window);
if (_glfw.wl.decorationManager) {