mirror of
https://github.com/labwc/labwc.git
synced 2025-11-10 13:30:00 -05:00
xdg-popup: render above always-on-top
This commit is contained in:
parent
f2c3f83041
commit
78aec7945c
3 changed files with 42 additions and 2 deletions
|
|
@ -254,7 +254,14 @@ struct server {
|
|||
|
||||
/* Tree for all non-layer xdg/xwayland-shell surfaces */
|
||||
struct wlr_scene_tree *view_tree;
|
||||
/* Tree for all non-layer xdg/xwayland-shell surfaces with always-on-top */
|
||||
|
||||
/*
|
||||
* Popups need to be rendered above always-on-top views, so we reparent
|
||||
* them to this dedicated tree
|
||||
*/
|
||||
struct wlr_scene_tree *xdg_popup_tree;
|
||||
|
||||
/* Tree for all non-layer xdg/xwayland-shell surfaces with always-on-top/below */
|
||||
struct wlr_scene_tree *view_tree_always_on_top;
|
||||
#if HAVE_XWAYLAND
|
||||
/* Tree for unmanaged xsurfaces without initialized view (usually popups) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue