diff options
author | Alexey Chernov <achernov@neosphere.com> | 2013-01-16 12:04:59 +0400 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-01-16 11:37:03 +0100 |
commit | 162924850291ab70ef3046d68ec83f6ccaa0a5d1 (patch) | |
tree | 52660ec846bb6ac921aeb9d5b2fba24e98385330 | |
parent | 967fc61715fa854dacaa200069437fe57d4d8390 (diff) |
osxvideosink: Make GstGLView propagate input events to its parent view
Fixes bug #691832
-rw-r--r-- | sys/osxvideo/cocoawindow.m | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/osxvideo/cocoawindow.m b/sys/osxvideo/cocoawindow.m index d8fde9bec..6a6281c54 100644 --- a/sys/osxvideo/cocoawindow.m +++ b/sys/osxvideo/cocoawindow.m @@ -543,34 +543,41 @@ - (void)keyDown:(NSEvent *) event; { [self sendKeyEvent: event: "key-press"]; + [super keyDown: event]; } - (void)keyUp:(NSEvent *) event; { [self sendKeyEvent: event: "key-release"]; + [super keyUp: event]; } - (void)mouseDown:(NSEvent *) event; { [self sendMouseEvent:event: "mouse-button-press"]; + [super mouseDown: event]; } - (void)mouseUp:(NSEvent *) event; { [self sendMouseEvent:event: "mouse-button-release"]; + [super mouseUp: event]; } - (void)mouseMoved:(NSEvent *)event; { [self sendMouseEvent:event: "mouse-move"]; + [super mouseMoved: event]; } - (void)mouseEntered:(NSEvent *)event; { + [super mouseEntered: event]; } - (void)mouseExited:(NSEvent *)event; { + [super mouseExited: event]; } @end |