Skip to content

Commit

Permalink
Fix smart rehide check for Sequoia
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbaird committed Oct 5, 2024
1 parent 5ac0694 commit 30827bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ice/Events/EventManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ extension EventManager {
let mouseLocation = MouseCursor.coreGraphicsLocation,
let windowUnderMouse = WindowInfo.getOnScreenWindows(excludeDesktopWindows: false)
.filter({ $0.layer < CGWindowLevelForKey(.cursorWindow) })
.first(where: { $0.frame.contains(mouseLocation) }),
.first(where: { $0.frame.contains(mouseLocation) && $0.title?.isEmpty == false }),
let owningApplication = windowUnderMouse.owningApplication
else {
return
Expand Down

0 comments on commit 30827bc

Please sign in to comment.