Set withdrawn state for xwayland views

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4057
This commit is contained in:
novenary 2023-03-16 00:16:16 +02:00
parent 51c9376c07
commit faa6dc5687
4 changed files with 33 additions and 0 deletions

View file

@ -44,6 +44,7 @@ struct sway_view_impl {
void (*set_tiled)(struct sway_view *view, bool tiled);
void (*set_fullscreen)(struct sway_view *view, bool fullscreen);
void (*set_resizing)(struct sway_view *view, bool resizing);
void (*set_withdrawn)(struct sway_view *view, bool withdrawn);
bool (*wants_floating)(struct sway_view *view);
void (*for_each_surface)(struct sway_view *view,
wlr_surface_iterator_func_t iterator, void *user_data);
@ -366,6 +367,8 @@ bool view_is_visible(struct sway_view *view);
void view_set_urgent(struct sway_view *view, bool enable);
void view_set_withdrawn(struct sway_view *view, bool withdrawn);
bool view_is_urgent(struct sway_view *view);
void view_remove_saved_buffer(struct sway_view *view);