summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-11-16 21:45:08 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-11-17 11:03:31 -0600
commitb1740056d5e9f81888fc9cb3e016bdb8eff054c1 (patch)
tree7910894c746174e2844848c0d390d16959db6e66
parent0067c76caba464c0636183a8318fee6d63cd2b35 (diff)
do not use #ifdef -> #else -> #endif in client_is_x11
all other funcions use #ifdef -> #endif
-rw-r--r--client.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/client.h b/client.h
index 186c23d..efb3e0d 100644
--- a/client.h
+++ b/client.h
@@ -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 *