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:
parent
303096bcb2
commit
c686e270a1
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user