]> git.sesse.net Git - vlc/commitdiff
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 aa225524100a41684c01c0ece698666f4e429054..86a9144ed5036883fc93c63b5436b84eece33baf 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 )
                 {