[vlc-commits] [Git][videolan/vlc][3.0.x] vout ios : use the mouse-events var to activate tap gestures driven mouse events
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Wed Jul 6 18:04:48 UTC 2022
Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC
Commits:
1584eaa5 by Maxime Chapelet at 2022-07-06T17:52:42+00:00
vout ios : use the mouse-events var to activate tap gestures driven mouse events
backport !2167
- - - - -
1 changed file:
- modules/video_output/ios.m
Changes:
=====================================
modules/video_output/ios.m
=====================================
@@ -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
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1584eaa5b4389adbb3b53a81977650171cada3b8
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1584eaa5b4389adbb3b53a81977650171cada3b8
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list