From dce11d0c8be02ba0a0db52a8a8ffc48824c7d1dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Fri, 7 Feb 2020 10:09:55 +0100 Subject: [PATCH] liveAltTab: fix abort --- liveAltTab.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liveAltTab.js b/liveAltTab.js index e7599bc..9e1b715 100644 --- a/liveAltTab.js +++ b/liveAltTab.js @@ -142,12 +142,12 @@ class LiveAltTab extends AltTab.WindowSwitcherPopup { } _onDestroy() { - super._onDestroy(); - debug('#preview', 'onDestroy', this.was_accepted); if(!this.was_accepted) { // Select the starting window this._select(0); } + super._onDestroy(); + debug('#preview', 'onDestroy', this.was_accepted); Tweener.addTween(this.fog, { time: prefs.animation_time, opacity: 0,