Add API for getting work area given a logical monitor
To complement the current API which takes an index referencing a logical monitor in the logical monitor array, add API that takes a direct reference to the logical monitor itself. The intention is to replace the usage of the index based API with one that doesn't rely on internal implementation details. https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
@ -82,6 +82,10 @@ void meta_workspace_remove_window (MetaWorkspace *workspace,
|
||||
void meta_workspace_relocate_windows (MetaWorkspace *workspace,
|
||||
MetaWorkspace *new_home);
|
||||
|
||||
void meta_workspace_get_work_area_for_logical_monitor (MetaWorkspace *workspace,
|
||||
MetaLogicalMonitor *logical_monitor,
|
||||
MetaRectangle *area);
|
||||
|
||||
void meta_workspace_invalidate_work_area (MetaWorkspace *workspace);
|
||||
|
||||
GList* meta_workspace_get_onscreen_region (MetaWorkspace *workspace);
|
||||
|
Reference in New Issue
Block a user