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
Failed to generate hash of commit

View file

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