diff options
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index c1207821..5d9b625f 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -302,6 +302,12 @@ void view_close(struct sway_view *view) { | |||
302 | } | 302 | } |
303 | } | 303 | } |
304 | 304 | ||
305 | void view_close_popups(struct sway_view *view) { | ||
306 | if (view->impl->close_popups) { | ||
307 | view->impl->close_popups(view); | ||
308 | } | ||
309 | } | ||
310 | |||
305 | void view_damage_from(struct sway_view *view) { | 311 | void view_damage_from(struct sway_view *view) { |
306 | for (int i = 0; i < root_container.children->length; ++i) { | 312 | for (int i = 0; i < root_container.children->length; ++i) { |
307 | struct sway_container *cont = root_container.children->items[i]; | 313 | struct sway_container *cont = root_container.children->items[i]; |