summaryrefslogtreecommitdiff
path: root/unity-standalone
diff options
Diffstat (limited to 'unity-standalone')
-rw-r--r--unity-standalone/StandaloneUnity.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/unity-standalone/StandaloneUnity.cpp b/unity-standalone/StandaloneUnity.cpp
index fa0662bed..a5dba677c 100644
--- a/unity-standalone/StandaloneUnity.cpp
+++ b/unity-standalone/StandaloneUnity.cpp
@@ -45,7 +45,7 @@
namespace
{
- static int display_width = 1280;
+ static int display_width = 1200;
static int display_height = 720;
static gboolean no_window_decorations = FALSE;
static gboolean force_tv = FALSE;
@@ -89,7 +89,9 @@ void UnityStandalone::Init ()
launcher_controller.reset(new launcher::Controller(0));
panel_controller.reset(new panel::Controller());
dash_controller.reset(new dash::Controller());
+
dash_controller->launcher_width = launcher_controller->launcher().GetAbsoluteWidth() - 1;
+ panel_controller->launcher_width = launcher_controller->launcher().GetAbsoluteWidth() - 1;
}
void UnityStandalone::InitWindowThread(nux::NThread* thread, void* InitData)