[vlc-devel] [PATCH 05/11] aa: handle the flag in VOUT_DISPLAY_HIDE_MOUSE
Steve Lhomme
robux4 at videolabs.io
Tue Aug 8 15:22:25 CEST 2017
---
modules/video_output/aa.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/aa.c b/modules/video_output/aa.c
index e9146d082c..0bb1013f6f 100644
--- a/modules/video_output/aa.c
+++ b/modules/video_output/aa.c
@@ -251,7 +251,10 @@ static int Control(vout_display_t *vd, int query, va_list args)
return VLC_SUCCESS;
case VOUT_DISPLAY_HIDE_MOUSE:
- aa_hidemouse(sys->aa_context);
+ if (va_arg(args, int))
+ aa_hidemouse(sys->aa_context);
+ else
+ aa_showmouse(sys->aa_context);
return VLC_SUCCESS;
default:
--
2.12.1
More information about the vlc-devel
mailing list