do not use #ifdef -> #else -> #endif in client_is_x11
all other funcions use #ifdef -> #endif
This commit is contained in:
parent
0067c76cab
commit
b1740056d5
1 changed files with 1 additions and 2 deletions
3
client.h
3
client.h
|
@ -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 *
|
||||||
|
|
Loading…
Reference in a new issue