[Librem-5-dev] [PATCH] Use ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY

Drew DeVault sir at cmpwn.com
Sat Feb 16 08:46:16 PST 2019


This will place the keyboard over fullscreen windows, and lock screens
(maybe).
---
 clients/keyboard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clients/keyboard.c b/clients/keyboard.c
index ee2cd7cd..1851533c 100644
--- a/clients/keyboard.c
+++ b/clients/keyboard.c
@@ -1101,7 +1101,7 @@ make_surface(struct output *output, struct virtual_keyboard *virtual_keyboard)
     ls = zwlr_layer_shell_v1_get_layer_surface(virtual_keyboard->layer_shell,
         window_get_wl_surface(keyboard->window),
         output_get_wl_output(output),
-        ZWLR_LAYER_SHELL_V1_LAYER_TOP,
+        ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY,
         "keyboard");
     zwlr_layer_surface_v1_set_anchor(ls,
         ZWLR_LAYER_SURFACE_V1_ANCHOR_BOTTOM | ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT
-- 
2.20.1



More information about the Librem-5-dev mailing list