mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 3 additions and 1 deletions
|
|
@ -1385,8 +1385,10 @@ var WindowManager = class {
|
|||
this._clearAnimationInfo(actor);
|
||||
}
|
||||
|
||||
if (this._resizePending.delete(actor))
|
||||
if (this._resizePending.delete(actor)) {
|
||||
this._clearAnimationInfo(actor);
|
||||
this._shellwm.completed_size_change(actor);
|
||||
}
|
||||
}
|
||||
|
||||
_hasAttachedDialogs(window, ignoreWindow) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue