mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 18:40:40 -05:00
Notify n-workspaces on context switch
This commit is contained in:
parent
8acc2e2a4d
commit
eb392568ae
@ -1073,6 +1073,7 @@ meta_workspace_manager_workspace_switched (MetaWorkspaceManager *workspace_manag
|
|||||||
g_signal_emit (workspace_manager,
|
g_signal_emit (workspace_manager,
|
||||||
workspace_manager_signals[CONTEXT_SWITCHED],
|
workspace_manager_signals[CONTEXT_SWITCHED],
|
||||||
0, NULL);
|
0, NULL);
|
||||||
|
g_object_notify (G_OBJECT (workspace_manager), "n-workspaces");
|
||||||
} else {
|
} else {
|
||||||
g_signal_emit (workspace_manager,
|
g_signal_emit (workspace_manager,
|
||||||
workspace_manager_signals[WORKSPACE_SWITCHED], 0,
|
workspace_manager_signals[WORKSPACE_SWITCHED], 0,
|
||||||
|
@ -86,12 +86,6 @@ void meta_workspace_manager_override_workspace_layout (MetaWorkspaceManager *wor
|
|||||||
int n_rows,
|
int n_rows,
|
||||||
int n_columns);
|
int n_columns);
|
||||||
|
|
||||||
META_EXPORT
|
|
||||||
MetaWorkspaceContext *
|
|
||||||
meta_workspace_manager_active_context (MetaWorkspaceManager *workspace_manager);
|
|
||||||
|
|
||||||
META_EXPORT
|
|
||||||
guint meta_workspace_manager_active_context_id (MetaWorkspaceManager *workspace_manager);
|
|
||||||
|
|
||||||
META_EXPORT
|
META_EXPORT
|
||||||
int meta_workspace_manager_get_layout_columns (MetaWorkspaceManager *workspace_manager);
|
int meta_workspace_manager_get_layout_columns (MetaWorkspaceManager *workspace_manager);
|
||||||
@ -99,6 +93,10 @@ int meta_workspace_manager_get_layout_columns (MetaWorkspaceManager *workspace_m
|
|||||||
META_EXPORT
|
META_EXPORT
|
||||||
int meta_workspace_manager_get_layout_rows (MetaWorkspaceManager *workspace_manager);
|
int meta_workspace_manager_get_layout_rows (MetaWorkspaceManager *workspace_manager);
|
||||||
|
|
||||||
|
META_EXPORT
|
||||||
|
MetaWorkspaceContext *
|
||||||
|
meta_workspace_manager_active_context (MetaWorkspaceManager *workspace_manager);
|
||||||
|
|
||||||
META_EXPORT
|
META_EXPORT
|
||||||
guint meta_workspace_manager_active_context_id (MetaWorkspaceManager *workspace_manager);
|
guint meta_workspace_manager_active_context_id (MetaWorkspaceManager *workspace_manager);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user