workspace: Add a private getter for builtin struts
It can be used to change current struts without having to track them at test level. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3701>
This commit is contained in:

committed by
Marge Bot

parent
44c6d02964
commit
e250bd1ebb
@ -103,3 +103,6 @@ MetaWindow * meta_workspace_get_default_focus_window_at_point (MetaWorkspace *wo
|
|||||||
GList * meta_workspace_get_default_focus_candidates (MetaWorkspace *workspace);
|
GList * meta_workspace_get_default_focus_candidates (MetaWorkspace *workspace);
|
||||||
|
|
||||||
void meta_workspace_index_changed (MetaWorkspace *workspace);
|
void meta_workspace_index_changed (MetaWorkspace *workspace);
|
||||||
|
|
||||||
|
META_EXPORT_TEST
|
||||||
|
GSList * meta_workspace_get_builtin_struts (MetaWorkspace *workspace);
|
||||||
|
@ -1121,6 +1121,12 @@ meta_workspace_set_builtin_struts (MetaWorkspace *workspace,
|
|||||||
meta_workspace_invalidate_work_area (workspace);
|
meta_workspace_invalidate_work_area (workspace);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GSList *
|
||||||
|
meta_workspace_get_builtin_struts (MetaWorkspace *workspace)
|
||||||
|
{
|
||||||
|
return copy_strut_list (workspace->builtin_struts);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
meta_workspace_get_work_area_for_logical_monitor (MetaWorkspace *workspace,
|
meta_workspace_get_work_area_for_logical_monitor (MetaWorkspace *workspace,
|
||||||
MetaLogicalMonitor *logical_monitor,
|
MetaLogicalMonitor *logical_monitor,
|
||||||
|
Reference in New Issue
Block a user