Commit 91368656 authored by Jean-Paul Saman's avatar Jean-Paul Saman

video_filter/wrapper.c: fix bug introduced by 4a95265a

commit 4a95265a changed semantics for "mouse-clicked" from VLC_VAR_BOOL to VLC_VAR_COORDS.
parent a8483379
...@@ -490,7 +490,7 @@ static int MouseEvent( vlc_object_t *p_this, char const *psz_var, ...@@ -490,7 +490,7 @@ static int MouseEvent( vlc_object_t *p_this, char const *psz_var,
{ {
var_SetInteger( p_vout, "mouse-button-down", nmouse.i_pressed ); var_SetInteger( p_vout, "mouse-button-down", nmouse.i_pressed );
if( vlc_mouse_HasPressed( &omouse, &nmouse, MOUSE_BUTTON_LEFT ) ) if( vlc_mouse_HasPressed( &omouse, &nmouse, MOUSE_BUTTON_LEFT ) )
var_SetBool( p_vout, "mouse-clicked", true ); var_SetCoords( p_vout, "mouse-clicked", nmouse.i_x, nmouse.i_y );
} }
if( m.b_double_click ) if( m.b_double_click )
{ {
......
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