From d7917d20762f85d58e5d8db7f19aec6be3e9ed56 Mon Sep 17 00:00:00 2001 From: novenary Date: Sat, 11 Mar 2023 14:51:52 +0200 Subject: xwayland: allow compositor to set withdrawn state --- include/wlr/xwayland/xwayland.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/wlr/xwayland/xwayland.h') diff --git a/include/wlr/xwayland/xwayland.h b/include/wlr/xwayland/xwayland.h index c1dbc339..a8983f1f 100644 --- a/include/wlr/xwayland/xwayland.h +++ b/include/wlr/xwayland/xwayland.h @@ -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); -- cgit v1.2.3