summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-07-21 20:56:45 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-07-21 21:02:44 +0200
commit644451f4d9f3850eeea166f9eb534c652dc7ace4 (patch)
tree0d61f2874d1e0c95f36d31f91bcf299fcf228141 /video
parent73cd78f8c50e43d2eb31bb6d9fca8485345e6025 (diff)
downloadmpv-644451f4d9f3850eeea166f9eb534c652dc7ace4.tar.bz2
mpv-644451f4d9f3850eeea166f9eb534c652dc7ace4.tar.xz
cocoa_common: fix regression in draggable state computation
Regression introduced in 8fb064de5. Prevented the OSC from working correctly.
Diffstat (limited to 'video')
-rw-r--r--video/out/cocoa_common.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m
index 4be65ae054..b280b54a31 100644
--- a/video/out/cocoa_common.m
+++ b/video/out/cocoa_common.m
@@ -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);
}