Treat nil drag-handle hit-test events as passive
Refs CMUXTERM-MACOS-AF Refs CMUXTERM-MACOS-A8
This commit is contained in:
parent
6093b00b47
commit
c3c89a80b9
2 changed files with 2 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ private func windowDragHandleFormatPoint(_ point: NSPoint) -> String {
|
|||
|
||||
private func windowDragHandleShouldDeferHitCapture(for eventType: NSEvent.EventType?) -> Bool {
|
||||
switch eventType {
|
||||
case .mouseMoved?, .cursorUpdate?:
|
||||
case nil, .mouseMoved?, .cursorUpdate?:
|
||||
return true
|
||||
default:
|
||||
return false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue