use OVERLAY so keyboard is visible over fullscreen windows as well

Ref: https://github.com/jjsullivan5196/wvkbd/issues/73
This commit is contained in:
Maarten van Gompel 2024-11-25 12:31:19 +01:00
parent 6041473421
commit 125664afd5

2
main.c
View File

@ -65,7 +65,7 @@ static struct drw draw_ctx;
static struct drwsurf draw_surf, popup_draw_surf;
/* layer surface parameters */
static uint32_t layer = ZWLR_LAYER_SHELL_V1_LAYER_TOP;
static uint32_t layer = ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY;
static uint32_t anchor = ZWLR_LAYER_SURFACE_V1_ANCHOR_BOTTOM |
ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT |
ZWLR_LAYER_SURFACE_V1_ANCHOR_RIGHT;