From 02aa000b0db211dc3ff5aae6064342008d749b23 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Thu, 7 Dec 2023 11:05:49 +0100 Subject: [PATCH] src/layers.c: move popups from the background layer to the top layer Previously we would only do that for the bottom layer. Fixes #1293 Reported-by: @spl237 --- src/layers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layers.c b/src/layers.c index 8b58f1f1..abf9c711 100644 --- a/src/layers.c +++ b/src/layers.c @@ -363,7 +363,7 @@ handle_new_popup(struct wl_listener *listener, void *data) popup->output_toplevel_sx_box = output_toplevel_sx_box; if (surface->layer_surface->current.layer - == ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM) { + <= ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM) { move_popup_to_top_layer(toplevel, popup); } }