commit dd00d994ce4c53829d0b871622dc05e90a6f58c3
parent f7154d539d09b4aa5b92371c296d9aa7a045bac0
Author: Leonardo Hernández Hernández <leohdz172@proton.me>
Date: Sun, 31 Mar 2024 21:41:12 -0600
do not set withdrawn state for xwayland clients
Closes: https://codeberg.org/dwl/dwl/issues/573
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git 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);