summaryrefslogtreecommitdiff
path: root/plugins/unityshell/src
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2012-09-11 12:38:31 +0200
committerAndrea Azzarone <azzaronea@gmail.com>2012-09-11 12:38:31 +0200
commit7c53c021950806c1ecd66513fd888759bf929dbe (patch)
treeadf97f9b637d7a31a21dd1ec5c95e5b90aba4965 /plugins/unityshell/src
parentc87838937ae511affea5cb2924baa5d90cbd5bef (diff)
Add unit-tests.
(bzr r2675.3.2)
Diffstat (limited to 'plugins/unityshell/src')
-rw-r--r--plugins/unityshell/src/unityshell.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp
index 0ec87f497..ba6684a90 100644
--- a/plugins/unityshell/src/unityshell.cpp
+++ b/plugins/unityshell/src/unityshell.cpp
@@ -25,6 +25,7 @@
#include <Nux/BaseWindow.h>
#include <Nux/WindowCompositor.h>
+#include "BaseWindowRaiserImp.h"
#include "IconRenderer.h"
#include "Launcher.h"
#include "LauncherIcon.h"
@@ -2960,7 +2961,8 @@ void UnityScreen::initLauncher()
// Setup Shortcut Hint
InitHints();
- shortcut_controller_ = std::make_shared<shortcut::Controller>(hints_);
+ auto base_window_raiser_ = std::make_shared<shortcut::BaseWindowRaiserImp>();
+ shortcut_controller_ = std::make_shared<shortcut::Controller>(hints_, base_window_raiser_);
AddChild(shortcut_controller_.get());
AddChild(dash_controller_.get());