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

Dorota Czaplejewicz dorota.czaplejewicz at puri.sm
Tue Feb 19 04:07:41 PST 2019


On Sat, 16 Feb 2019 11:46:16 -0500
Drew DeVault <sir at cmpwn.com> wrote:

> This will place the keyboard over fullscreen windows, and lock screens
> (maybe).

Thank you! It doesn't seem to break anything, so I've applied it.

Cheers,
Dorota

> ---
>  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.community.puri.sm/pipermail/librem-5-dev/attachments/20190219/cb5dc296/attachment.sig>


More information about the Librem-5-dev mailing list