diff options
Diffstat (limited to 'video/out/cocoa-cb/events_view.swift')
-rw-r--r-- | video/out/cocoa-cb/events_view.swift | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/cocoa-cb/events_view.swift b/video/out/cocoa-cb/events_view.swift index 124a7a028d..296d447634 100644 --- a/video/out/cocoa-cb/events_view.swift +++ b/video/out/cocoa-cb/events_view.swift @@ -120,6 +120,7 @@ class EventsView: NSView { if mpv?.mouseEnabled() ?? true { cocoa_put_key_with_modifiers(SWIFT_KEY_MOUSE_ENTER, 0) } + cocoaCB.updateCursorVisibility() } override func mouseExited(with event: NSEvent) { @@ -127,6 +128,7 @@ class EventsView: NSView { cocoa_put_key_with_modifiers(SWIFT_KEY_MOUSE_LEAVE, 0) } cocoaCB.titleBar?.hide() + cocoaCB.setCursorVisiblility(true) } override func mouseMoved(with event: NSEvent) { |