diff --git a/src/logic/Windows.swift b/src/logic/Windows.swift index b692da3d..270b9ce0 100644 --- a/src/logic/Windows.swift +++ b/src/logic/Windows.swift @@ -84,9 +84,8 @@ class Windows { } static func refreshAllThumbnails() { - list.forEachAsync { window in - window.refreshThumbnail() - } + list.filter { $0.shouldShowTheUser } + .forEachAsync { window in window.refreshThumbnail() } } static func refreshWhichWindowsToShowTheUser(_ screen: NSScreen) {