aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorRyan Dwyer <RyanDwyer@users.noreply.github.com>2018-11-28 20:46:22 +1000
committerGitHub <noreply@github.com>2018-11-28 20:46:22 +1000
commitf737854e307a3cfeaba43f5ff18d540c23c65fa5 (patch)
tree36829a49e6ee1a90b07ddbf10554650e234c6c05 /include/sway
parentc931a13af962f3c0effd567d1fb0f78fe5f21b90 (diff)
parent1d30b7c0f6068629760e692e594172e9972edf93 (diff)
Merge pull request #3199 from emersion/handle-subsurface-destroy
Handle destroyed subsurfaces
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/tree/view.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 4716c688..d74f1bc9 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -203,6 +203,12 @@ struct sway_view_child {
struct wl_listener surface_destroy;
};
+struct sway_subsurface {
+ struct sway_view_child child;
+
+ struct wl_listener destroy;
+};
+
struct sway_xdg_popup_v6 {
struct sway_view_child child;