aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/cocoa/mpvadapter.h
diff options
context:
space:
mode:
authorGravatar Stefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-09 22:11:12 +0200
committerGravatar Stefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-09 22:14:41 +0200
commit8a25a4af655f429382040aac6625ddd776f5da96 (patch)
tree5c8a6a3b78989e20981884cb1f77396a933a0552 /video/out/cocoa/mpvadapter.h
parente99a37f635ae1ddf933ce4a21634946b3fca3330 (diff)
cocoa: post keydown and keyup events without event monitor
Our code worked under the assumption that the event monitor is always active and we did remove the keydown and keyup overrides from our cocoa view.
Diffstat (limited to 'video/out/cocoa/mpvadapter.h')
-rw-r--r--video/out/cocoa/mpvadapter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/cocoa/mpvadapter.h b/video/out/cocoa/mpvadapter.h
index 205b2b1443..1355a5b345 100644
--- a/video/out/cocoa/mpvadapter.h
+++ b/video/out/cocoa/mpvadapter.h
@@ -23,6 +23,7 @@
- (void)unlock;
- (void)setNeedsResize;
- (void)signalMouseMovement:(NSPoint)point;
+- (void)putKeyEvent:(NSEvent*)event;
- (void)putKey:(int)mpkey withModifiers:(int)modifiers;
- (void)putAxis:(int)mpkey delta:(float)delta;
- (void)putCommand:(char*)cmd;