summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa/events_view.m
diff options
context:
space:
mode:
authortorque <torque@1>2015-02-16 14:27:06 -0800
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-03-11 12:49:39 +0900
commit18d3c2ab85c6b860d174ec9e5805c025941d00d5 (patch)
tree5bb85671b63bf2c644c520e028b262f17f408dba /video/out/cocoa/events_view.m
parentf84ca3a516d1d34cba2e9ef9bdbce95c7ebf399f (diff)
downloadmpv-18d3c2ab85c6b860d174ec9e5805c025941d00d5.tar.bz2
mpv-18d3c2ab85c6b860d174ec9e5805c025941d00d5.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. (cherry picked from commit bce753060eb9fb99ebc64fb6027d130a37b918a6)
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 620de19f84..6dc9236c49 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;