aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/xwayland
diff options
context:
space:
mode:
authornovenary <streetwalkermc@gmail.com>2023-03-11 14:51:52 +0200
committerSimon Ser <contact@emersion.fr>2023-05-04 18:05:00 +0000
commitd7917d20762f85d58e5d8db7f19aec6be3e9ed56 (patch)
tree7a7bd0d7a260708edb010c878e82f2ab86a51790 /include/wlr/xwayland
parent2827ec6b7b4ba45d3911258cd7a383eccd722c28 (diff)
xwayland: allow compositor to set withdrawn state
Diffstat (limited to 'include/wlr/xwayland')
-rw-r--r--include/wlr/xwayland/xwayland.h4
1 files changed, 4 insertions, 0 deletions
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);