From 043ab3ac1335d7a1cd84fe0f9cea8056977211a4 Mon Sep 17 00:00:00 2001 From: Leonardo Hernández Hernández Date: Fri, 12 Jul 2024 21:08:48 -0600 Subject: Revert "place child clients above fullscreen clients" This does not work as intended. Lets revert it temporarily and add it back after the release. This reverts commit 298949bbc4eae8cedb9cdd11cfc9ebd139ac5d5f. --- client.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'client.h') diff --git a/client.h b/client.h index 42f225f..f0e5445 100644 --- a/client.h +++ b/client.h @@ -183,18 +183,6 @@ client_get_parent(Client *c) return p; } -static inline int -client_has_children(Client *c) -{ -#ifdef XWAYLAND - if (client_is_x11(c)) - return !wl_list_empty(&c->surface.xwayland->children); -#endif - /* surface.xdg->link is never empty because it always contains at least the - * surface itself. */ - return wl_list_length(&c->surface.xdg->link) > 1; -} - static inline const char * client_get_title(Client *c) { -- cgit v1.2.3