sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit a4ce5227c2bc8f3699e7d98b83badcdbf2547dfa
parent 75ea19c71b08e4b3dd1ad053944724fd91dc04bd
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date:   Sat, 20 Oct 2018 16:48:43 +1000

Put swaybar in overlay layer when using mode hide

This allows the bar to render over fullscreen views.

Diffstat:
Mswaybar/bar.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swaybar/bar.c b/swaybar/bar.c @@ -102,7 +102,7 @@ static void add_layer_surface(struct swaybar_output *output) { bool hidden = strcmp(config->mode, "hide") == 0; output->layer_surface = zwlr_layer_shell_v1_get_layer_surface( bar->layer_shell, output->surface, output->output, - hidden ? ZWLR_LAYER_SHELL_V1_LAYER_TOP : + hidden ? ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY : ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM, "panel"); assert(output->layer_surface); zwlr_layer_surface_v1_add_listener(output->layer_surface,