mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
cocoa_common: fix regression in draggable state computation
Regression introduced in 8fb064de5. Prevented the OSC from working correctly.
This commit is contained in:
@@ -884,6 +884,7 @@ int vo_cocoa_cgl_color_size(struct vo *vo)
|
||||
|
||||
- (void)signalMouseMovement:(NSEvent *)event
|
||||
{
|
||||
[self recalcDraggableState];
|
||||
NSPoint p = [self convertPoint:[event locationInWindow] fromView:nil];
|
||||
vo_mouse_movement(self.videoOutput, p.x, p.y);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user