provide function to tell if a client has any group siblings
This commit is contained in:
parent
d38c835cef
commit
b84a934ab7
2 changed files with 7 additions and 0 deletions
|
@ -3200,3 +3200,8 @@ ObClient* client_under_pointer()
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gboolean client_has_group_siblings(ObClient *self)
|
||||||
|
{
|
||||||
|
return self->group && self->group->members->next;
|
||||||
|
}
|
||||||
|
|
|
@ -563,4 +563,6 @@ void client_update_sm_client_id(ObClient *self);
|
||||||
|
|
||||||
ObClient* client_under_pointer();
|
ObClient* client_under_pointer();
|
||||||
|
|
||||||
|
gboolean client_has_group_siblings(ObClient *self);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue