diff options
author | Ryan Dwyer <RyanDwyer@users.noreply.github.com> | 2018-11-28 20:46:22 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-28 20:46:22 +1000 |
commit | f737854e307a3cfeaba43f5ff18d540c23c65fa5 (patch) | |
tree | 36829a49e6ee1a90b07ddbf10554650e234c6c05 /include/sway | |
parent | Merge pull request #3207 from RedSoxFan/swaynag-no-term-buttons (diff) | |
parent | Damage view child when destroyed (diff) | |
download | sway-f737854e307a3cfeaba43f5ff18d540c23c65fa5.tar.gz sway-f737854e307a3cfeaba43f5ff18d540c23c65fa5.tar.zst sway-f737854e307a3cfeaba43f5ff18d540c23c65fa5.zip |
Merge pull request #3199 from emersion/handle-subsurface-destroy
Handle destroyed subsurfaces
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/tree/view.h | 6 |
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 { | |||
203 | struct wl_listener surface_destroy; | 203 | struct wl_listener surface_destroy; |
204 | }; | 204 | }; |
205 | 205 | ||
206 | struct sway_subsurface { | ||
207 | struct sway_view_child child; | ||
208 | |||
209 | struct wl_listener destroy; | ||
210 | }; | ||
211 | |||
206 | struct sway_xdg_popup_v6 { | 212 | struct sway_xdg_popup_v6 { |
207 | struct sway_view_child child; | 213 | struct sway_view_child child; |
208 | 214 | ||