aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-29 16:30:09 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-29 16:30:09 -0400
commit4137d9fc80fdf2ef03ff69a0b75ab52123517408 (patch)
treec5528ca03966c9711e823955122932fbfa002faf /include
parentb887af9a6013ea0466b6152e74f69659d7d45711 (diff)
Destroy layer surfaces on client destroyed
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_layer_shell.h2
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;