diff --git a/docs/kittens/panel.rst b/docs/kittens/panel.rst index 50f69aa6a..0ce6df62d 100644 --- a/docs/kittens/panel.rst +++ b/docs/kittens/panel.rst @@ -68,9 +68,7 @@ Make a Quake like quick access terminal ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. versionadded:: 0.42.0 - Support for quake mode, works only on Wayland, except for GNOME. On KDE - because of a `bug in kwin `__, - the terminal appears and hides only once, after that it does not re-appear. + Support for quake mode, works only on Wayland, except for GNOME. This kitten can be used to make a quick access terminal, that appears and disappears at a key press. To do so use the following command:: diff --git a/glfw/wl_window.c b/glfw/wl_window.c index 68c94237a..2030b3239 100644 --- a/glfw/wl_window.c +++ b/glfw/wl_window.c @@ -1681,7 +1681,8 @@ void _glfwPlatformMaximizeWindow(_GLFWwindow* window) void _glfwPlatformShowWindow(_GLFWwindow* window) { if (!window->wl.visible) { - if (!is_layer_shell(window)) create_window_desktop_surface(window); + if (is_layer_shell(window)) layer_set_properties(window); + else create_window_desktop_surface(window); window->wl.visible = true; commit_window_surface(window); if (is_layer_shell(window)) debug("Layer shell surface mapped waiting for configure event from compositor\n");