mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-06 07:38:21 +00:00
macOS: fix regression caused by 3ee8ef4f65
This commit is contained in:
@@ -667,7 +667,9 @@ extension Ghostty {
|
||||
|
||||
// The clicked location in this window should be this view.
|
||||
let location = convert(event.locationInWindow, from: nil)
|
||||
guard hitTest(location) == self else { return event }
|
||||
// We should use window to perform hitTest here,
|
||||
// because there could be some other overlays on top, like search bar
|
||||
guard window.contentView?.hitTest(location) == self else { return event }
|
||||
|
||||
// We always assume that we're resetting our mouse suppression
|
||||
// unless we see the specific scenario below to set it.
|
||||
|
||||
Reference in New Issue
Block a user