Blame SOURCES/0001-window-list-Leave-fake-overview-when-destroyed.patch

4520f0
From ee25c2aac70b86f31c91f6491dad4c67a59bc261 Mon Sep 17 00:00:00 2001
4520f0
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
4520f0
Date: Tue, 26 Jan 2021 21:14:47 +0100
4520f0
Subject: [PATCH] window-list: Leave "fake overview" when destroyed
4520f0
4520f0
Otherwise we leave an incomplete overview-like state around, which
4520f0
can cause issues later when the extension is re-enabled (for example
4520f0
when coming back from screen lock).
4520f0
4520f0
https://bugzilla.redhat.com/show_bug.cgi?id=1904371
4520f0
---
4520f0
 extensions/window-list/windowPicker.js | 2 ++
4520f0
 1 file changed, 2 insertions(+)
4520f0
4520f0
diff --git a/extensions/window-list/windowPicker.js b/extensions/window-list/windowPicker.js
4520f0
index 12a7627..afb5d27 100644
4520f0
--- a/extensions/window-list/windowPicker.js
4520f0
+++ b/extensions/window-list/windowPicker.js
4520f0
@@ -210,6 +210,8 @@ var WindowPicker = class {
4520f0
     }
4520f0
 
4520f0
     _onDestroy() {
4520f0
+        this._fakeOverviewVisible(false);
4520f0
+
4520f0
         if (this._monitorsChangedId)
4520f0
             Main.layoutManager.disconnect(this._monitorsChangedId);
4520f0
         this._monitorsChangedId = 0;
4520f0
-- 
4520f0
2.31.1
4520f0