cocoa_common: fix regression in draggable state computation

Regression introduced in 8fb064de5. Prevented the OSC from working correctly.
This commit is contained in:
Stefano Pigozzi 2013-07-21 20:56:45 +02:00
parent 73cd78f8c5
commit 644451f4d9
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}