Commit adaa7778 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

LibVLC: enable mouse events by default

parent 9e1a485c
...@@ -341,7 +341,7 @@ libvlc_media_player_new( libvlc_instance_t *instance ) ...@@ -341,7 +341,7 @@ libvlc_media_player_new( libvlc_instance_t *instance )
} }
vlc_object_attach (mp, mp->p_libvlc); vlc_object_attach (mp, mp->p_libvlc);
/* Drawable */ /* Video */
var_Create (mp, "drawable-xid", VLC_VAR_INTEGER); var_Create (mp, "drawable-xid", VLC_VAR_INTEGER);
#ifdef WIN32 #ifdef WIN32
var_Create (mp, "drawable-hwnd", VLC_VAR_ADDRESS); var_Create (mp, "drawable-hwnd", VLC_VAR_ADDRESS);
...@@ -351,10 +351,10 @@ libvlc_media_player_new( libvlc_instance_t *instance ) ...@@ -351,10 +351,10 @@ libvlc_media_player_new( libvlc_instance_t *instance )
var_Create (mp, "drawable-nsobject", VLC_VAR_ADDRESS); var_Create (mp, "drawable-nsobject", VLC_VAR_ADDRESS);
#endif #endif
/* Drawable input methods */
var_Create (mp, "keyboard-events", VLC_VAR_BOOL); var_Create (mp, "keyboard-events", VLC_VAR_BOOL);
var_SetBool (mp, "keyboard-events", true); var_SetBool (mp, "keyboard-events", true);
var_Create (mp, "mouse-events", VLC_VAR_BOOL); var_Create (mp, "mouse-events", VLC_VAR_BOOL);
var_SetBool (mp, "mouse-events", true);
/* Audio */ /* Audio */
var_Create (mp, "aout", VLC_VAR_STRING | VLC_VAR_DOINHERIT); var_Create (mp, "aout", VLC_VAR_STRING | VLC_VAR_DOINHERIT);
......
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