diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-07-31 19:58:34 +1000 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-07-31 19:58:34 +1000 |
| commit | 17db6dcdb337a41b25da9051f9194521aa11bdcd (patch) | |
| tree | 0f72b5b1804f6f6afa3b2317a4d9e3cc402fda9a /include | |
| parent | 0878cf13c8acc3e2a67dc1a6d177ad3052cb425b (diff) | |
Close popups when changing focus
Also reverts the send frame done changes from the previous commit.
Diffstat (limited to 'include')
| -rw-r--r-- | include/sway/tree/view.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 9f6d36fe..e722ca5e 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h @@ -50,6 +50,7 @@ struct sway_view_impl { void (*for_each_popup)(struct sway_view *view, wlr_surface_iterator_func_t iterator, void *user_data); void (*close)(struct sway_view *view); + void (*close_popups)(struct sway_view *view); void (*destroy)(struct sway_view *view); }; @@ -248,6 +249,8 @@ void view_set_tiled(struct sway_view *view, bool tiled); void view_close(struct sway_view *view); +void view_close_popups(struct sway_view *view); + void view_damage_from(struct sway_view *view); /** |
