mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 03:06:30 +00:00
check if a client is unmanaged checking the o-r flag
it may change at any moment and I don't really want to add a listener for it
This commit is contained in:
parent
9c5bdcfbe8
commit
c88960751d
1 changed files with 2 additions and 1 deletions
3
client.h
3
client.h
|
@ -270,7 +270,8 @@ static inline int
|
|||
client_is_unmanaged(Client *c)
|
||||
{
|
||||
#ifdef XWAYLAND
|
||||
return c->type == X11Unmanaged;
|
||||
if (client_is_x11(c))
|
||||
return c->surface.xwayland->override_redirect;
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue