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
This commit is contained in:
parent
4406943fd8
commit
1e99f00e59
@ -296,7 +296,8 @@ WindowManager.prototype = {
|
|||||||
y: yDest,
|
y: yDest,
|
||||||
time: SWITCH_ANIMATION_TIME,
|
time: SWITCH_ANIMATION_TIME,
|
||||||
transition: "easeOutBack",
|
transition: "easeOutBack",
|
||||||
onComplete: this._switchWorkspaceDone
|
onComplete: this._switchWorkspaceDone,
|
||||||
|
onCompleteScope: this
|
||||||
});
|
});
|
||||||
Tweener.addTween(switchData.inGroup,
|
Tweener.addTween(switchData.inGroup,
|
||||||
{ x: 0,
|
{ x: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user