From 3205d1e16a5255daf635a7450c6ff05bae67b735 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 17 Feb 2013 15:01:07 -0500 Subject: [PATCH] windowManager: Fix fallback path for icon_geometry animation It doesn't seem like this code was ever tested. https://bugzilla.gnome.org/show_bug.cgi?id=694052 --- js/ui/windowManager.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index c36ff4763..b51f942cc 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -254,10 +254,12 @@ const WindowManager = new Lang.Class({ yScale = geom.height / actor.height; } else { let monitor = Main.layoutManager.monitors[actor.meta_window.get_monitor()]; - let xDest = monitor.x; - let yDest = monitor.y; + xDest = monitor.x; + yDest = monitor.y; if (Clutter.get_default_text_direction() == Clutter.TextDirection.RTL) xDest += monitor.width; + xScale = 0; + yScale = 0; } Tweener.addTween(actor,