diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index 2f63f3fc26e4dcf5d2c4742798ab331d682c0808..34990bc1a570ef6c8446fe0dc5209fe9fb73658e 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -197,9 +197,13 @@ static int CreateVout( vlc_object_t *p_this )
     p_vout->pf_display = DisplayVideo;
     p_vout->pf_control = Control;
 
-    var_Create( p_sys->p_vout, "video-on-top", VLC_VAR_BOOL | VLC_VAR_DOINHERIT );
-
     /* Forward events from the opengl provider */
+    var_Create( p_sys->p_vout, "mouse-x", VLC_VAR_INTEGER );
+    var_Create( p_sys->p_vout, "mouse-y", VLC_VAR_INTEGER );
+    var_Create( p_sys->p_vout, "mouse-moved", VLC_VAR_BOOL );
+    var_Create( p_sys->p_vout, "mouse-clicked", VLC_VAR_INTEGER );
+    var_Create( p_sys->p_vout, "video-on-top", VLC_VAR_BOOL );
+
     var_AddCallback( p_sys->p_vout, "mouse-x", SendEvents, p_vout );
     var_AddCallback( p_sys->p_vout, "mouse-y", SendEvents, p_vout );
     var_AddCallback( p_sys->p_vout, "mouse-moved", SendEvents, p_vout );
diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 6507c3a909040cbb5932b6793c2e0bee27512835..77ff92ce97bfc2ff02ff5a47883f0231db895fb6 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -223,13 +223,6 @@ void vout_IntfInit( vout_thread_t *p_vout )
     }
     var_AddCallback( p_vout, "fullscreen", FullscreenCallback, NULL );
 
-    /* Mouse coordinates */
-    var_Create( p_vout, "mouse-x", VLC_VAR_INTEGER );
-    var_Create( p_vout, "mouse-y", VLC_VAR_INTEGER );
-    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_INTEGER );
-
     var_Create( p_vout, "intf-change", VLC_VAR_BOOL );
     val.b_bool = VLC_TRUE;
     var_Set( p_vout, "intf-change", val );