]> Dogcows Code - chaz/openbox/commitdiff
provide function to tell if a client has any group siblings
authorDana Jansens <danakj@orodu.net>
Thu, 9 Oct 2003 19:29:10 +0000 (19:29 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 9 Oct 2003 19:29:10 +0000 (19:29 +0000)
openbox/client.c
openbox/client.h

index feaa24df9f3e1400e48fd042cee5d9b87f0d9022..1aaa0267c6cc0ba883f7a59b1d1e2123d1224520 100644 (file)
@@ -3200,3 +3200,8 @@ ObClient* client_under_pointer()
     }
     return ret;
 }
+
+gboolean client_has_group_siblings(ObClient *self)
+{
+    return self->group && self->group->members->next;
+}
index 078de272ba60dc028be030a80108e47f1eaabfd1..aeb2160e47aa4716548287cc8d04ba6fa05b057c 100644 (file)
@@ -563,4 +563,6 @@ void client_update_sm_client_id(ObClient *self);
 
 ObClient* client_under_pointer();
 
+gboolean client_has_group_siblings(ObClient *self);
+
 #endif
This page took 0.030947 seconds and 4 git commands to generate.