mirror of https://github.com/mpv-player/mpv
cocoa_common: fix regression in draggable state computation
Regression introduced in 8fb064de5
. Prevented the OSC from working correctly.
This commit is contained in:
parent
73cd78f8c5
commit
644451f4d9
|
@ -884,6 +884,7 @@ int vo_cocoa_cgl_color_size(struct vo *vo)
|
||||||
|
|
||||||
- (void)signalMouseMovement:(NSEvent *)event
|
- (void)signalMouseMovement:(NSEvent *)event
|
||||||
{
|
{
|
||||||
|
[self recalcDraggableState];
|
||||||
NSPoint p = [self convertPoint:[event locationInWindow] fromView:nil];
|
NSPoint p = [self convertPoint:[event locationInWindow] fromView:nil];
|
||||||
vo_mouse_movement(self.videoOutput, p.x, p.y);
|
vo_mouse_movement(self.videoOutput, p.x, p.y);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue