do not use #ifdef -> #else -> #endif in client_is_x11

all other funcions use #ifdef -> #endif
This commit is contained in:
Leonardo Hernández Hernández 2023-11-16 21:45:08 -06:00
parent 0067c76cab
commit b1740056d5
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

View File

@ -11,9 +11,8 @@ client_is_x11(Client *c)
{
#ifdef XWAYLAND
return c->type == X11Managed || c->type == X11Unmanaged;
#else
return 0;
#endif
return 0;
}
static inline struct wlr_surface *