do not set withdrawn state for xwayland clients

Closes: https://codeberg.org/dwl/dwl/issues/573
This commit is contained in:
Leonardo Hernández Hernández 2024-03-31 21:41:12 -06:00
parent f7154d539d
commit dd00d994ce
No known key found for this signature in database
GPG key ID: E538897EE11B9624

View file

@ -379,10 +379,8 @@ static inline void
client_set_suspended(Client *c, int suspended) client_set_suspended(Client *c, int suspended)
{ {
#ifdef XWAYLAND #ifdef XWAYLAND
if (client_is_x11(c)) { if (client_is_x11(c))
wlr_xwayland_surface_set_withdrawn(c->surface.xwayland, suspended);
return; return;
}
#endif #endif
wlr_xdg_toplevel_set_suspended(c->surface.xdg->toplevel, suspended); wlr_xdg_toplevel_set_suspended(c->surface.xdg->toplevel, suspended);