From 10bbaa921765fcbaffd196abb3927adc3f3b0cd0 Mon Sep 17 00:00:00 2001 From: Louis Pontoise Date: Mon, 27 Feb 2023 15:20:34 +0100 Subject: [PATCH] fix: correctly show when an app is no longer assigned to all desktops closes #2372 --- src/logic/Window.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/src/logic/Window.swift b/src/logic/Window.swift index 42340e42..f300301a 100644 --- a/src/logic/Window.swift +++ b/src/logic/Window.swift @@ -223,6 +223,7 @@ class Window { if spaceIds.count == 1 { spaceId = spaceIds.first! spaceIndex = Spaces.idsAndIndexes.first { $0.0 == spaceIds.first! }!.1 + isOnAllSpaces = false } else if spaceIds.count > 1 { spaceId = Spaces.currentSpaceId spaceIndex = Spaces.currentSpaceIndex