summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client.h')
-rw-r--r--client.h12
1 files changed, 0 insertions, 12 deletions
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)
{