summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-09-01 15:51:59 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-09-01 16:10:37 +0200
commitc686e270a13a967e0b729b173d66bd5efc5fd1ca (patch)
treeee738158c0b9110472c4452f19ce4571b522290e /video
parent303096bcb2b5f52ea51d5d7ddb738689b08a0a2f (diff)
downloadmpv-c686e270a13a967e0b729b173d66bd5efc5fd1ca.tar.bz2
mpv-c686e270a13a967e0b729b173d66bd5efc5fd1ca.tar.xz
cocoa_common: track mouse move events when not focused
This is really only important with the OSC and makes the tracking code behave more consistently with the X11 one.
Diffstat (limited to 'video')
-rw-r--r--video/out/cocoa_common.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m
index 8798bbc8b0..e52f4a664a 100644
--- a/video/out/cocoa_common.m
+++ b/video/out/cocoa_common.m
@@ -794,7 +794,7 @@ int vo_cocoa_cgl_color_size(struct vo *vo)
NSTrackingAreaOptions trackingOptions =
NSTrackingEnabledDuringMouseDrag |
NSTrackingMouseEnteredAndExited | NSTrackingMouseMoved |
- NSTrackingActiveInActiveApp;
+ NSTrackingActiveAlways;
self.tracker =
[[[NSTrackingArea alloc] initWithRect:[self bounds]