windowManager: Also clear animationInfo when size-changed wasn't emitted
It might be that we receive a "kill-window-effects" signal between the emission of the "size-change" and the "size-changed" signal. In this case we already have the animationInfo attached to the window actor, so we should also remove it. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1251
This commit is contained in:
parent
d7185d71c6
commit
8078d78c30
@ -1385,8 +1385,10 @@ var WindowManager = class {
|
|||||||
this._clearAnimationInfo(actor);
|
this._clearAnimationInfo(actor);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this._resizePending.delete(actor))
|
if (this._resizePending.delete(actor)) {
|
||||||
|
this._clearAnimationInfo(actor);
|
||||||
this._shellwm.completed_size_change(actor);
|
this._shellwm.completed_size_change(actor);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_hasAttachedDialogs(window, ignoreWindow) {
|
_hasAttachedDialogs(window, ignoreWindow) {
|
||||||
|
Loading…
Reference in New Issue
Block a user