mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-03 19:19:28 +08:00
...
This commit is contained in:
2
glfw/wl_client_side_decorations.c
vendored
2
glfw/wl_client_side_decorations.c
vendored
@@ -479,7 +479,7 @@ ensure_csd_resources(_GLFWwindow *window) {
|
||||
void
|
||||
csd_set_visible(_GLFWwindow *window, bool visible) {
|
||||
// When setting to visible will only take effect if window currently has
|
||||
// CSD and will also ensure CSD is of correct size for current window size.
|
||||
// CSD and will also ensure CSD is of correct size and type for current window.
|
||||
// When hiding CSD simply destroys all CSD surfaces.
|
||||
if (visible) ensure_csd_resources(window); else free_csd_surfaces(window);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user