Add shell_global_get_workspace_manager ()
It will be used in the subsequent commit. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2394>
This commit is contained in:
parent
e3d6876f01
commit
1fd08e80ed
@ -843,6 +843,17 @@ shell_global_get_display (ShellGlobal *global)
|
||||
return global->meta_display;
|
||||
}
|
||||
|
||||
/**
|
||||
* shell_global_get_workspace_manager:
|
||||
*
|
||||
* Return value: (transfer none): The default #MetaWorkspaceManager
|
||||
*/
|
||||
MetaWorkspaceManager *
|
||||
shell_global_get_workspace_manager (ShellGlobal *global)
|
||||
{
|
||||
return global->workspace_manager;
|
||||
}
|
||||
|
||||
/**
|
||||
* shell_global_get_window_actors:
|
||||
*
|
||||
|
@ -20,6 +20,7 @@ MetaDisplay *shell_global_get_display (ShellGlobal *global);
|
||||
GList *shell_global_get_window_actors (ShellGlobal *global);
|
||||
GSettings *shell_global_get_settings (ShellGlobal *global);
|
||||
guint32 shell_global_get_current_time (ShellGlobal *global);
|
||||
MetaWorkspaceManager *shell_global_get_workspace_manager (ShellGlobal *global);
|
||||
|
||||
|
||||
/* Input/event handling */
|
||||
|
Loading…
Reference in New Issue
Block a user