From f576f1b1b67cf78be8d63353ee795f68cfa67446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 29 Sep 2023 21:35:33 +0200 Subject: [PATCH] window-list: Initialize preview visibility Otherwise we can end up showing window previews in the workspace thumbnail that shouldn't be visible, if none of the properties we track for updates changes. Part-of: --- extensions/window-list/workspaceIndicator.js | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/window-list/workspaceIndicator.js b/extensions/window-list/workspaceIndicator.js index 310f5e63..64e2071f 100644 --- a/extensions/window-list/workspaceIndicator.js +++ b/extensions/window-list/workspaceIndicator.js @@ -43,6 +43,7 @@ class WindowPreview extends St.Button { }, 'notify::minimized', this._updateVisible.bind(this), this); + this._updateVisible(); global.display.connectObject('notify::focus-window', this._onFocusChanged.bind(this), this);