fix: always show a window in show:apps mode (closes #3950)
This commit is contained in:
1 parent
68d24919b1
commit
ac70fcc5f9
1 file changed
+1
-2
@@ -284,7 +284,6 @@ class Windows {
|
||||
Windows.list.forEach { (window: Window) in
|
||||
refreshIfWindowShouldBeShownToTheUser(window, screen)
|
||||
}
|
||||
|
||||
if Preferences.onlyShowApplications() {
|
||||
// Group windows by application and select the optimal main window
|
||||
let windowsGroupedByApp = Dictionary(grouping: Windows.list) { $0.application.pid }
|
||||
@@ -345,7 +344,7 @@ class Windows {
|
||||
return true
|
||||
}
|
||||
|
||||
return sortedWindows.first
|
||||
return sortedWindows.first { $0.shouldShowTheUser }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user