summaryrefslogtreecommitdiff
path: root/unity-standalone
diff options
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;