+/*****************************************************************************
+ * SendEvents: forward mouse and keyboard events to the parent p_vout
+ *****************************************************************************/
+static int SendEvents( vlc_object_t *p_this, char const *psz_var,
+ vlc_value_t oldval, vlc_value_t newval, void *p_data )
+{
+ VLC_UNUSED(p_this); VLC_UNUSED(oldval);
+ var_Set( (vlc_object_t *)p_data, psz_var, newval );
+
+ return VLC_SUCCESS;
+}
+
+/*****************************************************************************
+ * SendEventsToChild: forward events to the child/children vout
+ *****************************************************************************/
+static int SendEventsToChild( vlc_object_t *p_this, char const *psz_var,
+ vlc_value_t oldval, vlc_value_t newval, void *p_data )
+{
+ VLC_UNUSED(p_data); VLC_UNUSED(oldval);
+ vout_thread_t *p_vout = (vout_thread_t *)p_this;
+ int i_vout;
+
+ for( i_vout = 0; i_vout < p_vout->p_sys->i_clones; i_vout++ )
+ {
+ var_Set( p_vout->p_sys->pp_vout[ i_vout ], psz_var, newval );
+
+ if( !strcmp( psz_var, "fullscreen" ) ) break;
+ }
+
+ return VLC_SUCCESS;
+}