mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix(bar): now use bottom layer
This commit is contained in:
parent
679aafa9e8
commit
7d05f6c612
@ -30,8 +30,7 @@ waybar::Bar::Bar(Client &client, std::unique_ptr<struct wl_output *> &&p_output)
|
||||
gdk_wayland_window_set_use_custom_surface(gdkWindow);
|
||||
surface = gdk_wayland_window_get_wl_surface(gdkWindow);
|
||||
layerSurface = zwlr_layer_shell_v1_get_layer_surface(
|
||||
client.layer_shell, surface, *output,
|
||||
(positionBottom ? ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM : ZWLR_LAYER_SHELL_V1_LAYER_TOP),
|
||||
client.layer_shell, surface, *output, ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM,
|
||||
"waybar");
|
||||
zwlr_layer_surface_v1_set_anchor(layerSurface,
|
||||
ZWLR_LAYER_SURFACE_V1_ANCHOR_LEFT | ZWLR_LAYER_SURFACE_V1_ANCHOR_RIGHT |
|
||||
|
Loading…
Reference in New Issue
Block a user