summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa-cb/events_view.swift
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/cocoa-cb/events_view.swift')
-rw-r--r--video/out/cocoa-cb/events_view.swift9
1 files changed, 2 insertions, 7 deletions
diff --git a/video/out/cocoa-cb/events_view.swift b/video/out/cocoa-cb/events_view.swift
index 729a26263e..7cc6a4022d 100644
--- a/video/out/cocoa-cb/events_view.swift
+++ b/video/out/cocoa-cb/events_view.swift
@@ -48,10 +48,6 @@ class EventsView: NSView {
removeTrackingArea(tracker!)
}
- if mpv != nil && !mpv.getBoolProperty("input-cursor") {
- return
- }
-
tracker = NSTrackingArea(rect: bounds,
options: [.activeAlways, .mouseEnteredAndExited, .mouseMoved, .enabledDuringMouseDrag],
owner: self, userInfo: nil)
@@ -88,12 +84,11 @@ class EventsView: NSView {
}
override func acceptsFirstMouse(for event: NSEvent?) -> Bool {
- return mpv.getBoolProperty("input-cursor")
+ return true
}
override func becomeFirstResponder() -> Bool {
- return mpv.getBoolProperty("input-cursor") ||
- mpv.getBoolProperty("input-vo-keyboard")
+ return true
}
override func resignFirstResponder() -> Bool {