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;
|
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:
|
* shell_global_get_window_actors:
|
||||||
*
|
*
|
||||||
|
@ -13,13 +13,14 @@ G_BEGIN_DECLS
|
|||||||
#define SHELL_TYPE_GLOBAL (shell_global_get_type ())
|
#define SHELL_TYPE_GLOBAL (shell_global_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (ShellGlobal, shell_global, SHELL, GLOBAL, GObject)
|
G_DECLARE_FINAL_TYPE (ShellGlobal, shell_global, SHELL, GLOBAL, GObject)
|
||||||
|
|
||||||
ShellGlobal *shell_global_get (void);
|
ShellGlobal *shell_global_get (void);
|
||||||
|
|
||||||
ClutterStage *shell_global_get_stage (ShellGlobal *global);
|
ClutterStage *shell_global_get_stage (ShellGlobal *global);
|
||||||
MetaDisplay *shell_global_get_display (ShellGlobal *global);
|
MetaDisplay *shell_global_get_display (ShellGlobal *global);
|
||||||
GList *shell_global_get_window_actors (ShellGlobal *global);
|
GList *shell_global_get_window_actors (ShellGlobal *global);
|
||||||
GSettings *shell_global_get_settings (ShellGlobal *global);
|
GSettings *shell_global_get_settings (ShellGlobal *global);
|
||||||
guint32 shell_global_get_current_time (ShellGlobal *global);
|
guint32 shell_global_get_current_time (ShellGlobal *global);
|
||||||
|
MetaWorkspaceManager *shell_global_get_workspace_manager (ShellGlobal *global);
|
||||||
|
|
||||||
|
|
||||||
/* Input/event handling */
|
/* Input/event handling */
|
||||||
|
Loading…
Reference in New Issue
Block a user