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
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;
}