Added meta_group_get_size() to allow for more efficient check of whether window is part of a larger group.
This commit is contained in:
@@ -272,3 +272,13 @@ meta_group_property_notify (MetaGroup *group,
|
||||
return TRUE;
|
||||
|
||||
}
|
||||
|
||||
int
|
||||
meta_group_get_size (MetaGroup *group)
|
||||
{
|
||||
if (!group)
|
||||
return 0;
|
||||
|
||||
return group->refcount;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user