[vlc-commits] Gestures: use the proper event name

Ludovic Fauvet git at videolan.org
Thu Feb 7 19:47:15 CET 2013


vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Thu Feb  7 19:46:05 2013 +0100| [be93074958c9a620911f3e8112098808a7d78cd7] | committer: Jean-Baptiste Kempf

Gestures: use the proper event name

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=be93074958c9a620911f3e8112098808a7d78cd7
---

 modules/control/gestures.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/control/gestures.c b/modules/control/gestures.c
index bc47405..f67beb0 100644
--- a/modules/control/gestures.c
+++ b/modules/control/gestures.c
@@ -484,7 +484,7 @@ static int InputEvent( vlc_object_t *p_this, char const *psz_var,
         {   /* /!\ Beware of lock inversion with var_DelCallback() /!\ */
             var_DelCallback( p_sys->p_vout, "mouse-moved", MovedEvent,
                              p_intf );
-            var_DelCallback( p_sys->p_vout, "mouse-clicked", ButtonEvent,
+            var_DelCallback( p_sys->p_vout, "mouse-button-down", ButtonEvent,
                              p_intf );
             vlc_object_release( p_sys->p_vout );
         }
@@ -494,7 +494,7 @@ static int InputEvent( vlc_object_t *p_this, char const *psz_var,
         {
             var_AddCallback( p_sys->p_vout, "mouse-moved", MovedEvent,
                              p_intf );
-            var_AddCallback( p_sys->p_vout, "mouse-clicked", ButtonEvent,
+            var_AddCallback( p_sys->p_vout, "mouse-button-down", ButtonEvent,
                              p_intf );
         }
         break;



More information about the vlc-commits mailing list