layers: arrange layers on destroy

...rather than unmap because that is the approach of sway and it also
avoids wshowkeys crashing.

Fixes: #1153
This commit is contained in:
Johan Malm 2023-10-10 21:51:58 +01:00
parent a1324c8cdc
commit 2888dbf597
3 changed files with 23 additions and 4 deletions

View file

@ -10,6 +10,8 @@ struct output;
struct lab_layer_surface {
struct wlr_scene_layer_surface_v1 *scene_layer_surface;
struct server *server;
struct output *output;
struct wlr_scene_tree *tree;
bool mapped;