xwayland: allow compositor to set withdrawn state

This commit is contained in:
novenary 2023-03-11 14:51:52 +02:00 committed by Simon Ser
parent 2827ec6b7b
commit d7917d2076
2 changed files with 35 additions and 14 deletions

View file

@ -136,6 +136,7 @@ struct wlr_xwayland_surface {
bool fullscreen;
bool maximized_vert, maximized_horz;
bool minimized;
bool withdrawn;
bool has_alpha;
@ -226,6 +227,9 @@ void wlr_xwayland_surface_configure(struct wlr_xwayland_surface *surface,
void wlr_xwayland_surface_close(struct wlr_xwayland_surface *surface);
void wlr_xwayland_surface_set_withdrawn(struct wlr_xwayland_surface *surface,
bool withdrawn);
void wlr_xwayland_surface_set_minimized(struct wlr_xwayland_surface *surface,
bool minimized);