summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa/events_view.m
diff options
context:
space:
mode:
authortorque <torque@1>2015-02-16 14:27:06 -0800
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2015-03-07 19:31:52 +0100
commitbce753060eb9fb99ebc64fb6027d130a37b918a6 (patch)
tree68e2be94e804493119507fb18a488b6f1f2c3b56 /video/out/cocoa/events_view.m
parent678cd30904490e1d898234d6f90d7c78bb34ba87 (diff)
downloadmpv-bce753060eb9fb99ebc64fb6027d130a37b918a6.tar.bz2
mpv-bce753060eb9fb99ebc64fb6027d130a37b918a6.tar.xz
cocoa: update mouse coordinates when window is initialized.
Make MpvEventsView -signalMousePosition a public method so it can be called without a compiler warning. Previously, the mouse position would be reported as (0,0) until the cursor was moved.
Diffstat (limited to 'video/out/cocoa/events_view.m')
-rw-r--r--video/out/cocoa/events_view.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/cocoa/events_view.m b/video/out/cocoa/events_view.m
index d6ba9e0ff5..20d1307abf 100644
--- a/video/out/cocoa/events_view.m
+++ b/video/out/cocoa/events_view.m
@@ -28,7 +28,6 @@
@property(nonatomic, assign) BOOL clearing;
@property(nonatomic, assign) BOOL hasMouseDown;
@property(nonatomic, retain) NSTrackingArea *tracker;
-- (void)signalMousePosition;
- (BOOL)hasDock:(NSScreen*)screen;
- (BOOL)hasMenubar:(NSScreen*)screen;
- (int)mpvButtonNumber:(NSEvent*)event;