summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2024-04-04 10:50:21 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2024-04-04 10:50:21 -0600
commit72e2ce8b00995d5925786043dd2910c27722c375 (patch)
tree0e754e13602b8d760d2b4e2f6b0548a6dcadb16c /client.h
parenta0117eea76ce5ca5e6660f5a6f0057e29f268d41 (diff)
parentdd00d994ce4c53829d0b871622dc05e90a6f58c3 (diff)
Merge remote-tracking branch 'upstream/main' into wlroots-next
Diffstat (limited to 'client.h')
-rw-r--r--client.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/client.h b/client.h
index fe9dffc..800b867 100644
--- a/client.h
+++ b/client.h
@@ -379,10 +379,8 @@ static inline void
client_set_suspended(Client *c, int suspended)
{
#ifdef XWAYLAND
- if (client_is_x11(c)) {
- wlr_xwayland_surface_set_withdrawn(c->surface.xwayland, suspended);
+ if (client_is_x11(c))
return;
- }
#endif
wlr_xdg_toplevel_set_suspended(c->surface.xdg->toplevel, suspended);