summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Chernov <achernov@neosphere.com>2013-01-16 12:04:59 +0400
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-01-16 11:37:03 +0100
commit162924850291ab70ef3046d68ec83f6ccaa0a5d1 (patch)
tree52660ec846bb6ac921aeb9d5b2fba24e98385330
parent967fc61715fa854dacaa200069437fe57d4d8390 (diff)
osxvideosink: Make GstGLView propagate input events to its parent view
Fixes bug #691832
-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