Quick access terminal: Allow toggling the window to full screen and map using the standard kitty toggle_fullscreen shortcut

Fixes #8626
This commit is contained in:
Kovid Goyal
2025-05-12 15:20:48 +05:30
parent cf69385823
commit 9ed6be9272
12 changed files with 91 additions and 22 deletions

5
glfw/wl_window.c vendored
View File

@@ -2892,8 +2892,9 @@ GLFWAPI void glfwWaylandRedrawCSDWindowTitle(GLFWwindow *handle) {
if (csd_change_title(window)) commit_window_surface_if_safe(window);
}
GLFWAPI GLFWLayerShellConfig* glfwWaylandLayerShellConfig(GLFWwindow *handle) {
return &((_GLFWwindow*)handle)->wl.layer_shell.config;
const GLFWLayerShellConfig*
_glfwPlatformGetLayerShellConfig(_GLFWwindow *window) {
return &window->wl.layer_shell.config;
}
GLFWAPI bool glfwIsLayerShellSupported(void) { return _glfw.wl.zwlr_layer_shell_v1 != NULL; }