Remove useless test
authorRémi Duraffort <ivoire@videolan.org>
Wed, 2 Jan 2008 11:32:54 +0000 (11:32 +0000)
committerRémi Duraffort <ivoire@videolan.org>
Wed, 2 Jan 2008 11:32:54 +0000 (11:32 +0000)
modules/video_output/sdl.c

index aa22552..86a9144 100644 (file)
@@ -386,8 +386,7 @@ static int Manage( vout_thread_t *p_vout )
             val.b_bool = VLC_TRUE;
             var_Set( p_vout, "mouse-moved", val );
 
-            if( p_vout->p_sys->b_cursor &&
-                (abs(event.motion.xrel) > 2 || abs(event.motion.yrel) > 2) )
+            if( p_vout->p_sys->b_cursor )
             {
                 if( p_vout->p_sys->b_cursor_autohidden )
                 {