From 49bfe927030b4747deded43656b4fe417c157123 Mon Sep 17 00:00:00 2001 From: Leonardo Hernández Hernández Date: Sun, 10 Dec 2023 23:44:33 -0600 Subject: merge X11Managed and X11Unmanaged into X11 now that client_is_unmanaged() checks the wlr struct we don't need to keep track of it ourselves --- client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client.h') diff --git a/client.h b/client.h index 68e7534..dded687 100644 --- a/client.h +++ b/client.h @@ -10,7 +10,7 @@ static inline int client_is_x11(Client *c) { #ifdef XWAYLAND - return c->type == X11Managed || c->type == X11Unmanaged; + return c->type == X11; #endif return 0; } -- cgit v1.2.3