merge X11Managed and X11Unmanaged into X11

now that client_is_unmanaged() checks the wlr struct we don't need to keep
track of it ourselves
This commit is contained in:
Leonardo Hernández Hernández 2023-12-10 23:44:33 -06:00
parent c88960751d
commit 49bfe92703
No known key found for this signature in database
GPG key ID: E538897EE11B9624
2 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ static inline int
client_is_x11(Client *c)
{
#ifdef XWAYLAND
return c->type == X11Managed || c->type == X11Unmanaged;
return c->type == X11;
#endif
return 0;
}