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 feaa24d..1aaa026 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 078de27..aeb2160 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