mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 10:41:58 +02:00
Wayland CSD: Dont render window shadows for docked windows
This commit is contained in:
9
glfw/wl_window.c
vendored
9
glfw/wl_window.c
vendored
@@ -597,13 +597,8 @@ setFullscreen(_GLFWwindow* window, _GLFWmonitor* monitor, bool on) {
|
||||
_glfwInputError(GLFW_PLATFORM_ERROR, "Wayland compositor does not support fullscreen");
|
||||
return;
|
||||
}
|
||||
if (on) {
|
||||
xdg_toplevel_set_fullscreen(window->wl.xdg.toplevel, monitor ? monitor->wl.output : NULL);
|
||||
csd_set_visible(window, false);
|
||||
} else {
|
||||
xdg_toplevel_unset_fullscreen(window->wl.xdg.toplevel);
|
||||
csd_set_visible(window, true);
|
||||
}
|
||||
if (on) xdg_toplevel_set_fullscreen(window->wl.xdg.toplevel, monitor ? monitor->wl.output : NULL);
|
||||
else xdg_toplevel_unset_fullscreen(window->wl.xdg.toplevel);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user