cocoa-cb: properly reset window isMoving state on title bar clicks

since the title bar catches the mouse up and down events, the underlying
events view doesn't reset the isMoving state and no mouse movements are
signalled to the core. now we also reset the state in mouse up events
on the title bar.

Fixes #7807
This commit is contained in:
der richter 2020-06-06 14:33:22 +02:00
parent 5ad73ccbe9
commit 12415db3a6
1 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,8 @@ class TitleBar: NSVisualEffectView {
window?.zoom(self)
}
}
cocoaCB.window?.isMoving = false
}
func set(appearance: Any) {