From 12415db3a60ce8a044ccc7ef510c85a1a95218e2 Mon Sep 17 00:00:00 2001 From: der richter Date: Sat, 6 Jun 2020 14:33:22 +0200 Subject: 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 --- video/out/cocoa-cb/title_bar.swift | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/out') diff --git a/video/out/cocoa-cb/title_bar.swift b/video/out/cocoa-cb/title_bar.swift index 98367e5d1c..c1c8b09526 100644 --- a/video/out/cocoa-cb/title_bar.swift +++ b/video/out/cocoa-cb/title_bar.swift @@ -96,6 +96,8 @@ class TitleBar: NSVisualEffectView { window?.zoom(self) } } + + cocoaCB.window?.isMoving = false } func set(appearance: Any) { -- cgit v1.2.3