diff options
author | Alexey Chernov <achernov@neosphere.com> | 2013-01-16 12:04:59 +0400 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2013-01-23 10:31:58 +0000 |
commit | 9b435a4b76ff647d56fef501d22b6eef5725963c (patch) | |
tree | ed07a776cf59b248c6089f9cb3d1973ceeebdc2f | |
parent | 808cf144b02ef218da5edc3bb61b240f067dd8a2 (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 |