summaryrefslogtreecommitdiff
path: root/plugins/unityshell
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2013-03-04 22:24:47 +0100
committerAndrea Azzarone <azzaronea@gmail.com>2013-03-04 22:24:47 +0100
commit36d123690652162cde41001b27736d93eb37aa4b (patch)
tree7354dafe7b3f36e4ac59df04a484de6ab0108f12 /plugins/unityshell
parent7041181c7e4e16d6777c64ed712c653e4eef2d10 (diff)
Fix bug 1136447.
(bzr r3183.1.1)
Diffstat (limited to 'plugins/unityshell')
-rw-r--r--plugins/unityshell/src/unityshell.cpp3
1 files changed, 2 insertions, 1 deletions
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;