mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
windowManager: Avoid calling meta_window_actor_thaw when not frozen
Because that tends to crash in:
```
g_error ("Error in freeze/thaw accounting");
```
Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1431
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1453
(cherry picked from commit 6ba3ca5f95)
This commit is contained in:
parent
f231efe015
commit
98234acd5b
1 changed files with 4 additions and 0 deletions
|
|
@ -1378,6 +1378,10 @@ var WindowManager = class {
|
|||
onStopped: () => this._sizeChangeWindowDone(shellwm, actor),
|
||||
});
|
||||
|
||||
// ease didn't animate and cleared the info, we are done
|
||||
if (!actor.__animationInfo)
|
||||
return;
|
||||
|
||||
// Now unfreeze actor updates, to get it to the new size.
|
||||
// It's important that we don't wait until the animation is completed to
|
||||
// do this, otherwise our scale will be applied to the old texture size.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue