layers: handle top layer unmap/destroy better

On losing top layer focus, set focus on topmost mapped view.
This commit is contained in:
Johan Malm 2020-10-31 15:09:13 +00:00
parent 5d6143449f
commit a26fd5a75b
4 changed files with 47 additions and 2 deletions

View file

@ -12,6 +12,7 @@ struct lab_layer_surface {
struct wl_listener destroy;
struct wl_listener map;
struct wl_listener unmap;
struct wl_listener surface_commit;
struct wl_listener output_destroy;