mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
Handle xwayland not started (when HAVE_XWAYLAND, but lacking the binary)
Closes https://github.com/labwc/labwc/issues/434
This commit is contained in:
parent
4e25347791
commit
fee38bceca
5 changed files with 37 additions and 14 deletions
|
|
@ -583,6 +583,8 @@ server_init(void)
|
|||
server.workspace_tree = lab_wlr_scene_tree_create(&server.scene->tree);
|
||||
server.xdg_popup_tree = lab_wlr_scene_tree_create(&server.scene->tree);
|
||||
#if HAVE_XWAYLAND
|
||||
// Creating/setting this is harmless when xwayland support is built-in
|
||||
// but xwayland could not be successfully started.
|
||||
server.unmanaged_tree = lab_wlr_scene_tree_create(&server.scene->tree);
|
||||
#endif
|
||||
server.menu_tree = lab_wlr_scene_tree_create(&server.scene->tree);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue