do not set withdrawn state for xwayland clients
Closes: https://codeberg.org/dwl/dwl/issues/573
This commit is contained in:
parent
f7154d539d
commit
dd00d994ce
4
client.h
4
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);
|
||||
|
Loading…
Reference in New Issue
Block a user