OpenGL: fix missing GLX window decoration
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 13 May 2009 20:23:35 +0000 (23:23 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 13 May 2009 20:32:03 +0000 (23:32 +0300)
modules/video_output/opengl.c

index 3fbe5e6..ecacbeb 100644 (file)
@@ -193,6 +193,8 @@ static int CreateVout( vlc_object_t *p_this )
     p_sys->p_vout->b_autoscale = p_vout->b_autoscale;
     p_sys->p_vout->i_zoom = p_vout->i_zoom;
     p_sys->p_vout->i_alignment = p_vout->i_alignment;
+    var_Create( p_sys->p_vout, "video-deco",
+                VLC_VAR_BOOL | VLC_VAR_DOINHERIT );
 
     psz = var_CreateGetString( p_vout, "opengl-provider" );
     p_sys->p_vout->p_module =