Treat nil drag-handle hit-test events as passive

Refs CMUXTERM-MACOS-AF

Refs CMUXTERM-MACOS-A8
This commit is contained in:
Lawrence Chen 2026-02-25 17:13:56 -08:00
parent 6093b00b47
commit c3c89a80b9
2 changed files with 2 additions and 1 deletions

View file

@ -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