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 committed by Johan Malm
parent ca94abbef1
commit 7bf08af210
3 changed files with 23 additions and 4 deletions

View file

@ -11,6 +11,8 @@ struct seat;
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;