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
@ -1121,6 +1121,12 @@ meta_workspace_set_builtin_struts (MetaWorkspace *workspace,
|
||||
meta_workspace_invalidate_work_area (workspace);
|
||||
}
|
||||
|
||||
GSList *
|
||||
meta_workspace_get_builtin_struts (MetaWorkspace *workspace)
|
||||
{
|
||||
return copy_strut_list (workspace->builtin_struts);
|
||||
}
|
||||
|
||||
void
|
||||
meta_workspace_get_work_area_for_logical_monitor (MetaWorkspace *workspace,
|
||||
MetaLogicalMonitor *logical_monitor,
|
||||
|
Reference in New Issue
Block a user