mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
windowManager: Warn when removing old animationInfo
Now that we properly notify mutter about when a size-change animation has ended, it should never happen that a new size-change animation is started without the last one being cancelled (ie. 'kill-window-effects' being emitted). This means there should also never be an old animationInfo attached to a window actor, so warn in case we still find one when starting the animation. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1251
This commit is contained in:
parent
4a6f550acb
commit
c23ad83c59
1 changed files with 3 additions and 1 deletions
|
|
@ -1301,8 +1301,10 @@ var WindowManager = class {
|
|||
|
||||
actor.freeze();
|
||||
|
||||
if (this._clearAnimationInfo(actor))
|
||||
if (this._clearAnimationInfo(actor)) {
|
||||
log('Old animationInfo removed from actor %s'.format(actor));
|
||||
this._shellwm.completed_size_change(actor);
|
||||
}
|
||||
|
||||
let destroyId = actor.connect('destroy', () => {
|
||||
this._clearAnimationInfo(actor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue