mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
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
This commit is contained in:
parent
b34d074063
commit
02aa000b0d
1 changed files with 1 additions and 1 deletions
|
|
@ -363,7 +363,7 @@ handle_new_popup(struct wl_listener *listener, void *data)
|
||||||
popup->output_toplevel_sx_box = output_toplevel_sx_box;
|
popup->output_toplevel_sx_box = output_toplevel_sx_box;
|
||||||
|
|
||||||
if (surface->layer_surface->current.layer
|
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);
|
move_popup_to_top_layer(toplevel, popup);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue