~ruther/dwl

b1740056d5e9f81888fc9cb3e016bdb8eff054c1 — Leonardo Hernández Hernández 1 year, 5 months ago 0067c76
do not use #ifdef -> #else -> #endif in client_is_x11

all other funcions use #ifdef -> #endif
1 files changed, 1 insertions(+), 2 deletions(-)

M client.h
M client.h => client.h +1 -2
@@ 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 *

Do not follow this link