mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 15:48:23 +00:00
osxvideosink: Make GstGLView propagate input events to its parent view
Fixes bug #691832
This commit is contained in:
parent
9455a3aee1
commit
77fde4b8ba
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue