Make work_area calculation funcs public and introspectible

https://bugzilla.gnome.org/show_bug.cgi?id=692679
This commit is contained in:
Jasper St. Pierre
2013-01-27 23:08:17 -05:00
parent ac49259fc7
commit d8058138ab
6 changed files with 43 additions and 16 deletions

View File

@ -1043,6 +1043,15 @@ meta_workspace_set_builtin_struts (MetaWorkspace *workspace,
meta_workspace_invalidate_work_area (workspace);
}
/**
* meta_workspace_get_work_area_for_monitor:
* @workspace: a #MetaWorkspace
* @which_monitor: a monitor index
* @area: (out): location to store the work area
*
* Stores the work area for @which_monitor on @workspace
* in @area.
*/
void
meta_workspace_get_work_area_for_monitor (MetaWorkspace *workspace,
int which_monitor,