summaryrefslogtreecommitdiff
path: root/unity-standalone
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2013-08-08 16:43:50 +0200
committerAndrea Azzarone <azzaronea@gmail.com>2013-08-08 16:43:50 +0200
commitf926e5e220f4084e0c5e9bf655c1b72902be2cce (patch)
tree4bfa9fc798bee19555f2d0feeb9379b4d353cbb8 /unity-standalone
parent4921a5a741a9579582769cdd90eb159829f710eb (diff)
Add edge barriers to panels too. Unit tests added.
(bzr r3456.2.3)
Diffstat (limited to 'unity-standalone')
-rw-r--r--unity-standalone/StandaloneUnity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unity-standalone/StandaloneUnity.cpp b/unity-standalone/StandaloneUnity.cpp
index 13e43ff13..eba05f4d0 100644
--- a/unity-standalone/StandaloneUnity.cpp
+++ b/unity-standalone/StandaloneUnity.cpp
@@ -89,7 +89,7 @@ void UnityStandalone::Init ()
auto xdnd_manager = std::make_shared<XdndManager>();
auto edge_barriers = std::make_shared<ui::EdgeBarrierController>();
launcher_controller = std::make_shared<launcher::Controller>(xdnd_manager, edge_barriers);
- panel_controller = std::make_shared<panel::Controller>();
+ panel_controller = std::make_shared<panel::Controller>(edge_barriers);
dash_controller = std::make_shared<dash::Controller>();
dash_controller->launcher_width = launcher_controller->launcher().GetAbsoluteWidth() - 1;