mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +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)
|
client_is_unmanaged(Client *c)
|
||||||
{
|
{
|
||||||
#ifdef XWAYLAND
|
#ifdef XWAYLAND
|
||||||
return c->type == X11Unmanaged;
|
if (client_is_x11(c))
|
||||||
|
return c->surface.xwayland->override_redirect;
|
||||||
#endif
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue