Skip to content
Snippets Groups Projects
Commit 1584eaa5 authored by Maxime Chapelet's avatar Maxime Chapelet Committed by Jean-Baptiste Kempf
Browse files

vout ios : use the mouse-events var to activate tap gestures driven mouse events

backport !2167
parent 3a8e8002
No related branches found
No related tags found
2 merge requests!3533Backport MR 3236 to 3.0.x,!2170[3.x] vout ios : use the mouse-events var to activate tap gestures driven mouse events
Pipeline #239875 passed with stages
in 15 minutes and 9 seconds
......@@ -493,6 +493,9 @@ static void GLESSwap(vlc_gl_t *gl)
[_viewContainer addSubview:self];
/* add tap gesture recognizer for DVD menus and stuff */
if (var_InheritBool( _voutDisplay, "mouse-events" ) == false) {
return YES;
}
_tapRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self
action:@selector(tapRecognized:)];
if (_viewContainer.window
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment