[gnome-shell] windowManager: Fix fallback path for icon_geometry animation
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] windowManager: Fix fallback path for icon_geometry animation
- Date: Mon, 18 Feb 2013 00:58:48 +0000 (UTC)
commit 3205d1e16a5255daf635a7450c6ff05bae67b735
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Feb 17 15:01:07 2013 -0500
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 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js
index c36ff47..b51f942 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]