From 1e99f00e59f9bb2ca1620e383247d06412972798 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Thu, 8 Jan 2009 23:34:19 +0000 Subject: [PATCH] Pass the right 'this' to switchWorkspaceDone switchWorkspaceDone was being called with the wrong 'this', causing ShellWM.completed_switch_workspace() never to be called, causing stacking order to get confused. http://bugzilla.gnome.org/show_bug.cgi?id=567091 svn path=/trunk/; revision=142 --- js/ui/windowManager.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 2c4b0ef23..60f329a57 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -296,7 +296,8 @@ WindowManager.prototype = { y: yDest, time: SWITCH_ANIMATION_TIME, transition: "easeOutBack", - onComplete: this._switchWorkspaceDone + onComplete: this._switchWorkspaceDone, + onCompleteScope: this }); Tweener.addTween(switchData.inGroup, { x: 0,