diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-29 16:30:09 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-03-29 16:30:09 -0400 |
commit | 4137d9fc80fdf2ef03ff69a0b75ab52123517408 (patch) | |
tree | c5528ca03966c9711e823955122932fbfa002faf /include/wlr | |
parent | b887af9a6013ea0466b6152e74f69659d7d45711 (diff) |
Destroy layer surfaces on client destroyed
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_layer_shell.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_layer_shell.h b/include/wlr/types/wlr_layer_shell.h index 8cc7782f..8d093ada 100644 --- a/include/wlr/types/wlr_layer_shell.h +++ b/include/wlr/types/wlr_layer_shell.h @@ -22,6 +22,7 @@ struct wlr_layer_shell { struct wl_global *wl_global; struct wl_list client_resources; // wl_resource + struct wl_list surfaces; // wl_layer_surface struct wl_listener display_destroy; @@ -50,6 +51,7 @@ struct wlr_layer_surface_configure { }; struct wlr_layer_surface { + struct wl_list link; // wlr_layer_shell::surfaces struct wlr_surface *surface; struct wlr_output *output; struct wl_resource *resource; |