provide function to tell if a client has any group siblings
Dana Jansens danakj@orodu.net
2 files changed,
7 insertions(+),
0 deletions(-)
M
openbox/client.c
→
openbox/client.c
@@ -3200,3 +3200,8 @@ }
} return ret; } + +gboolean client_has_group_siblings(ObClient *self) +{ + return self->group && self->group->members->next; +}
M
openbox/client.h
→
openbox/client.h
@@ -563,4 +563,6 @@ void client_update_sm_client_id(ObClient *self);
ObClient* client_under_pointer(); +gboolean client_has_group_siblings(ObClient *self); + #endif