From 36d123690652162cde41001b27736d93eb37aa4b Mon Sep 17 00:00:00 2001 From: Andrea Azzarone Date: Mon, 4 Mar 2013 22:24:47 +0100 Subject: Fix bug 1136447. (bzr r3183.1.1) --- plugins/unityshell/src/unityshell.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/unityshell') diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp index f50f1839f..5151a21d5 100644 --- a/plugins/unityshell/src/unityshell.cpp +++ b/plugins/unityshell/src/unityshell.cpp @@ -392,8 +392,9 @@ UnityScreen::UnityScreen(CompScreen* screen) unity::glib::String overlay_identity; gboolean can_maximise = FALSE; gint32 overlay_monitor = 0; + int width, height; g_variant_get(data, UBUS_OVERLAY_FORMAT_STRING, - &overlay_identity, &can_maximise, &overlay_monitor); + &overlay_identity, &can_maximise, &overlay_monitor, &width, &height); overlay_monitor_ = overlay_monitor; -- cgit v1.2.3