windowManager: Always reset window actors when minimize animation is cancelled
This was left out in b6d47c18c
. Fixes an occasional warning:
`this._minimizeWindowOverwritten is not a function`
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/911
This commit is contained in:
parent
c1d738d60c
commit
28d42628d1
@ -1315,12 +1315,7 @@ var WindowManager = class {
|
|||||||
opacity: 0,
|
opacity: 0,
|
||||||
duration: MINIMIZE_WINDOW_ANIMATION_TIME,
|
duration: MINIMIZE_WINDOW_ANIMATION_TIME,
|
||||||
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||||
onStopped: isFinished => {
|
onStopped: () => this._minimizeWindowDone(shellwm, actor),
|
||||||
if (isFinished)
|
|
||||||
this._minimizeWindowDone(shellwm, actor);
|
|
||||||
else
|
|
||||||
this._minimizeWindowOverwritten(shellwm, actor);
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
let xDest, yDest, xScale, yScale;
|
let xDest, yDest, xScale, yScale;
|
||||||
|
Loading…
Reference in New Issue
Block a user