1
mirror of https://github.com/mpv-player/mpv synced 2024-11-14 22:48:35 +01:00

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.
This commit is contained in:
Stefano Pigozzi 2013-09-01 15:51:59 +02:00
parent 303096bcb2
commit c686e270a1

View File

@ -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]