set withdrawn state for xwayland invisible clients
This commit is contained in:
parent
78cf88670f
commit
25db045392
1 changed files with 3 additions and 1 deletions
4
client.h
4
client.h
|
@ -350,8 +350,10 @@ static inline void
|
|||
client_set_suspended(Client *c, int suspended)
|
||||
{
|
||||
#ifdef XWAYLAND
|
||||
if (client_is_x11(c))
|
||||
if (client_is_x11(c)) {
|
||||
wlr_xwayland_surface_set_withdrawn(c->surface.xwayland, suspended);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
wlr_xdg_toplevel_set_suspended(c->surface.xdg->toplevel, suspended);
|
||||
|
|
Loading…
Reference in a new issue