summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-07-25 19:45:18 -0600
committerLeonardo Hernández <leohdz172@proton.me>2023-07-31 18:19:41 -0600
commit25db04539216fa6bf05ad39cdeeeca6df6b69e60 (patch)
tree1eb8931e7eb643a982a842dccc5444a065720bc9 /client.h
parent78cf88670f3410782f5c90895c3c4586d3485a67 (diff)
set withdrawn state for xwayland invisible clients
Diffstat (limited to 'client.h')
-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);