summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/client.h b/client.h
index fc999f1..6a46151 100644
--- a/client.h
+++ b/client.h
@@ -350,8 +350,10 @@ static inline void
client_set_suspended(Client *c, int suspended)
{
#ifdef XWAYLAND
- if (client_is_x11(c))
+ if (client_is_x11(c)) {
+ wlr_xwayland_surface_set_withdrawn(c->surface.xwayland, suspended);
return;
+ }
#endif
wlr_xdg_toplevel_set_suspended(c->surface.xdg->toplevel, suspended);