From 46c74acb1be817a2fee3c8def29627cea618b144 Mon Sep 17 00:00:00 2001 From: Sundeep Mediratta Date: Sun, 23 Jun 2024 15:12:34 -0400 Subject: [PATCH] workspace: Use better window check option in existing code Part-of: --- js/ui/workspace.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 147b843de..09fe3abdb 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -1202,7 +1202,7 @@ class Workspace extends St.Widget { // We might have the window in our list already if it was on all workspaces and // now was moved to this workspace - if (this._lookupIndex(metaWin) !== -1) + if (this.containsMetaWindow(metaWin)) return; if (!this._isMyWindow(metaWin))