From f38d76db067cd80df44f46448aa1706879166874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 10 Jun 2014 12:19:40 +0200 Subject: [PATCH] native-window-placement: Fix 'button-layout' schema The defaults have been shifted around so that the normal session uses the regular schema and classic mode overrides it, so the key is no longer present in 'org.gnome.shell.overrides'. --- extensions/native-window-placement/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/native-window-placement/extension.js b/extensions/native-window-placement/extension.js index b0dcc5d5..2248d9df 100644 --- a/extensions/native-window-placement/extension.js +++ b/extensions/native-window-placement/extension.js @@ -36,7 +36,7 @@ const PLACE_WINDOW_CAPTIONS_ON_TOP = true; // place win const WORKSPACE_BORDER_GAP = 10; // minimum gap between the workspace area and the workspace selector const WINDOW_AREA_TOP_GAP = 20; // minimum gap between the workspace area and the top border. This keeps window captions and close buttons visible. 13px (26/2) should currently be enough. -const BUTTON_LAYOUT_SCHEMA = 'org.gnome.shell.overrides'; +const BUTTON_LAYOUT_SCHEMA = 'org.gnome.desktop.wm.preferences'; const BUTTON_LAYOUT_KEY = 'button-layout'; function injectToFunction(parent, name, func) {