mirror of
https://github.com/labwc/labwc.git
synced 2025-11-30 06:59:52 -05:00
menu: put menu_tree above overlay layer
This commit is contained in:
parent
ac7c94db12
commit
86c35976ba
2 changed files with 8 additions and 0 deletions
|
|
@ -556,6 +556,7 @@ server_init(struct server *server)
|
|||
* | Type | Scene Tree | Per Output | Example
|
||||
* | ----------------- | ---------------- | ---------- | -------
|
||||
* | ext-session | lock-screen | Yes | swaylock
|
||||
* | compositor-menu | menu_tree | No | root-menu
|
||||
* | layer-shell | layer-popups | Yes |
|
||||
* | layer-shell | overlay-layer | Yes |
|
||||
* | layer-shell | top-layer | Yes | waybar
|
||||
|
|
@ -576,6 +577,11 @@ server_init(struct server *server)
|
|||
#if HAVE_XWAYLAND
|
||||
server->unmanaged_tree = wlr_scene_tree_create(&server->scene->tree);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* menu_tree is moved to top in new_output_notify() when layer-shell
|
||||
* layers are positioned
|
||||
*/
|
||||
server->menu_tree = wlr_scene_tree_create(&server->scene->tree);
|
||||
|
||||
workspaces_init(server);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue