Skip to content

Commit

Permalink
Merge pull request rxhanson#1273 from decodism/master-2
Browse files Browse the repository at this point in the history
Stage Manager: fix multi-space
  • Loading branch information
rxhanson authored Oct 4, 2023
2 parents 6ead6ed + e608387 commit 9b1bd52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Rectangle/Snapping/FootprintWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class FootprintWindow: NSWindow {

override var isVisible: Bool {
// Workaround for footprint getting pushed off of Stage Manager
if StageUtil.stageCapable && StageUtil.stageEnabled && StageUtil.stageStripShow && StageUtil.isStageStripVisible() {
if StageUtil.stageCapable && StageUtil.stageEnabled && StageUtil.stageStripShow {
return true
}
return realIsVisible
Expand Down
2 changes: 1 addition & 1 deletion Rectangle/Utilities/StageUtil.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class StageUtil {
guard let screen else {
return false
}
let infos = WindowUtil.getWindowList(all: true).filter { info in
let infos = WindowUtil.getWindowList().filter { info in
guard info.processName == "WindowManager" else {
return false
}
Expand Down

0 comments on commit 9b1bd52

Please sign in to comment.