From b84a934ab7b3ebd68b8b90961146463ac17d396e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 9 Oct 2003 19:29:10 +0000 Subject: provide function to tell if a client has any group siblings --- openbox/client.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'openbox/client.c') diff --git a/openbox/client.c b/openbox/client.c index feaa24df..1aaa0267 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3200,3 +3200,8 @@ ObClient* client_under_pointer() } return ret; } + +gboolean client_has_group_siblings(ObClient *self) +{ + return self->group && self->group->members->next; +} -- cgit v1.2.3