mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Close popups when changing focus
Also reverts the send frame done changes from the previous commit.
This commit is contained in:
parent
de86d65627
commit
7a59508da4
6 changed files with 44 additions and 31 deletions
|
|
@ -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);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue