summaryrefslogtreecommitdiff
path: root/sys/osxvideo
diff options
context:
space:
mode:
authorAlexey Chernov <achernov@neosphere.com>2013-01-16 12:04:59 +0400
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2013-01-23 10:31:58 +0000
commit9b435a4b76ff647d56fef501d22b6eef5725963c (patch)
treeed07a776cf59b248c6089f9cb3d1973ceeebdc2f /sys/osxvideo
parent808cf144b02ef218da5edc3bb61b240f067dd8a2 (diff)
osxvideosink: Make GstGLView propagate input events to its parent view
Fixes bug #691832
Diffstat (limited to 'sys/osxvideo')
-rw-r--r--sys/osxvideo/cocoawindow.m7
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