Commit ac4866eb authored by Rémi Duraffort's avatar Rémi Duraffort

Remove useless test

parent ae95f6dc
......@@ -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 )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment