From a9ec8a354af6532788776d71f8ecb935721dd5c8 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Fri, 30 Nov 2012 01:27:16 +0100 Subject: [PATCH] main: Initialize WindowManager earlier This allows us to register keybindings from most other places that might need to do so like the panel or any status indicator. https://bugzilla.gnome.org/show_bug.cgi?id=682315 --- js/ui/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/main.js b/js/ui/main.js index e1b583799..12daee24d 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -161,13 +161,13 @@ function start() { xdndHandler = new XdndHandler.XdndHandler(); ctrlAltTabManager = new CtrlAltTab.CtrlAltTabManager(); overview = new Overview.Overview(); + wm = new WindowManager.WindowManager(); magnifier = new Magnifier.Magnifier(); if (UnlockDialog.isSupported()) screenShield = new ScreenShield.ScreenShield(); else screenShield = new ScreenShield.ScreenShieldFallback(); panel = new Panel.Panel(); - wm = new WindowManager.WindowManager(); messageTray = new MessageTray.MessageTray(); keyboard = new Keyboard.Keyboard(); notificationDaemon = new NotificationDaemon.NotificationDaemon();