mirror of
https://github.com/lbonn/rofi
synced 2024-11-23 12:23:02 +00:00
Use TOP layer instead of OVERLAY on Wayland
Overlay is reserved for lock screens and similar programs. Fixes #7
This commit is contained in:
parent
498fd2fc00
commit
dc1b15945a
1 changed files with 1 additions and 1 deletions
|
@ -1013,7 +1013,7 @@ wayland_display_setup(GMainLoop *main_loop, NkBindings *bindings)
|
|||
|
||||
wayland->bindings_seat = nk_bindings_seat_new ( bindings, XKB_CONTEXT_NO_FLAGS );
|
||||
|
||||
wayland->wlr_surface = zwlr_layer_shell_v1_get_layer_surface(wayland->layer_shell, wayland->surface, NULL, ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY, "rofi");
|
||||
wayland->wlr_surface = zwlr_layer_shell_v1_get_layer_surface(wayland->layer_shell, wayland->surface, NULL, ZWLR_LAYER_SHELL_V1_LAYER_TOP, "rofi");
|
||||
|
||||
// ANCHOR_LEFT is needed to get the full screen width
|
||||
zwlr_layer_surface_v1_set_anchor( wayland->wlr_surface, ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP | ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT );
|
||||
|
|
Loading…
Reference in a new issue