X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fvideo_output%2Fvout_intf.c;h=fc8369ebbd58d4a6d19bf13978cbfd789526cc1e;hb=114b922fa7bbe06f4acfcc3d7af9c47ef534b1a2;hp=4577b1e57a8a9353e4d554a195a9140441f5d948;hpb=49334e07d05bb5e4770a95b8b4f57d84c192cdc9;p=vlc diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c index 4577b1e57a..fc8369ebbd 100644 --- a/src/video_output/vout_intf.c +++ b/src/video_output/vout_intf.c @@ -368,6 +368,7 @@ void vout_IntfInit( vout_thread_t *p_vout ) var_Create( p_vout, "mouse-button-down", VLC_VAR_INTEGER ); var_Create( p_vout, "mouse-moved", VLC_VAR_BOOL ); var_Create( p_vout, "mouse-clicked", VLC_VAR_BOOL ); + var_Create( p_vout, "mouse-object", VLC_VAR_BOOL ); var_Create( p_vout, "intf-change", VLC_VAR_BOOL ); var_SetBool( p_vout, "intf-change", true ); @@ -984,10 +985,6 @@ static int FullscreenCallback( vlc_object_t *p_this, char const *psz_cmd, return VLC_SUCCESS; /* no-op */ p_vout->i_changes |= VOUT_FULLSCREEN_CHANGE; - /* Modify libvlc as well because the vout might have to be restarted */ - var_Create( p_vout->p_libvlc, "fullscreen", VLC_VAR_BOOL ); - var_Set( p_vout->p_libvlc, "fullscreen", newval ); - val.b_bool = true; var_Set( p_vout, "intf-change", val ); return VLC_SUCCESS;