From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Thu, 7 Dec 2023 10:05:49 +0000 (+0100) Subject: src/layers.c: move popups from the background layer to the top layer X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=02aa000b0db211dc3ff5aae6064342008d749b23;p=proto%2Flabwc.git 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 --- 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); } }