mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
layers: put popups in separate node-tree
This allows popups to be rendered above views and other layers. Without this, the popups of a layer-shell application in the bottom layer would render below views, which does not seem right. For example, consider the case of a panel with right-click popups.
This commit is contained in:
parent
34bd1fb6da
commit
6fd400b493
3 changed files with 36 additions and 7 deletions
|
|
@ -196,6 +196,7 @@ struct output {
|
|||
struct wlr_scene_output *scene_output;
|
||||
struct wl_list layers[LAB_NR_LAYERS];
|
||||
struct wlr_scene_tree *layer_tree[LAB_NR_LAYERS];
|
||||
struct wlr_scene_tree *layer_popup_tree;
|
||||
struct wlr_box usable_area;
|
||||
|
||||
struct lab_data_buffer *osd_buffer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue