summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2024-03-31 21:41:12 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2024-03-31 21:41:12 -0600
commitdd00d994ce4c53829d0b871622dc05e90a6f58c3 (patch)
treebdf4d3d44456bedb462c0f565a9f67146eee1e35
parentf7154d539d09b4aa5b92371c296d9aa7a045bac0 (diff)
do not set withdrawn state for xwayland clients
Closes: https://codeberg.org/dwl/dwl/issues/573
-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);