Commit aad8eb19 authored by Tomas Frydrych's avatar Tomas Frydrych
Browse files

Added meta_group_get_size() to allow for more efficient check of whether...

Added meta_group_get_size() to allow for more efficient check of whether window is part of a larger group.
parent fc6b78a2
......@@ -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;
}
......@@ -43,6 +43,8 @@ void meta_group_update_layers (MetaGroup *group);
const char* meta_group_get_startup_id (MetaGroup *group);
int meta_group_get_size (MetaGroup *group);
gboolean meta_group_property_notify (MetaGroup *group,
XEvent *event);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment