provide function to tell if a client has any group siblings

This commit is contained in:
Dana Jansens 2003-10-09 19:29:10 +00:00
parent d38c835cef
commit b84a934ab7
2 changed files with 7 additions and 0 deletions

View 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;
}

View 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