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)
{
#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);