From 2c5657e8a972b7468367f211067cb94de017d92e Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 28 Feb 2011 14:05:05 +0100 Subject: [PATCH] Enable the workspaces_only_on_primary feature of mutter https://bugzilla.gnome.org/show_bug.cgi?id=609258 --- data/gnome-shell.schemas | 15 +++++++++++++++ src/main.c | 2 ++ 2 files changed, 17 insertions(+) diff --git a/data/gnome-shell.schemas b/data/gnome-shell.schemas index 24cade651..f2e69eefd 100644 --- a/data/gnome-shell.schemas +++ b/data/gnome-shell.schemas @@ -81,5 +81,20 @@ + + /schemas/desktop/gnome/shell/windows/workspaces_only_on_primary + /desktop/gnome/shell/windows/workspaces_only_on_primary + gnome-shell + bool + true + + Workspaces only on primary monitor + + This key overrides /apps/mutter/general/workspaces_only_on_primary when + running GNOME Shell. + + + + diff --git a/src/main.c b/src/main.c index ba53a73ac..029acb80f 100644 --- a/src/main.c +++ b/src/main.c @@ -221,6 +221,8 @@ shell_prefs_init (void) { meta_prefs_override_preference_location ("/apps/mutter/general/attach_modal_dialogs", "/desktop/gnome/shell/windows/attach_modal_dialogs"); + meta_prefs_override_preference_location ("/apps/mutter/general/workspaces_only_on_primary", + "/desktop/gnome/shell/windows/workspaces_only_on_primary"); meta_prefs_override_preference_location ("/apps/metacity/general/button_layout", "/desktop/gnome/shell/windows/button_layout"); meta_prefs_override_preference_location ("/apps/metacity/general/edge_tiling",