From 1332d7de2c2a3ba46497db1ca9ee09f897fbee67 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 3 Feb 2023 16:23:05 +0100 Subject: [PATCH] Also cancel translucencyMoveResizeAnimations When a window goes away it was stoppping translucencyWindowTypeAnimation and translucencyInactiveAnimation but any translucencyMoveResizeAnimations was hanging there forever, causing ghost windows BUG:439332 --- src/effects/translucency/package/contents/code/main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/effects/translucency/package/contents/code/main.js b/src/effects/translucency/package/contents/code/main.js index abd20a9ee4..4ee59c095f 100644 --- a/src/effects/translucency/package/contents/code/main.js +++ b/src/effects/translucency/package/contents/code/main.js @@ -102,6 +102,10 @@ var translucencyEffect = { cancel(window.translucencyInactiveAnimation); window.translucencyInactiveAnimation = undefined; } + if (window.translucencyMoveResizeAnimations !== undefined) { + cancel(window.translucencyMoveResizeAnimations); + window.translucencyMoveResizeAnimations = undefined; + } }, moveResize: { start: function (window) {