[vlc-devel] commit: OpenGL: fix missing GLX window decoration ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed May 13 22:33:20 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 13 23:23:35 2009 +0300| [548f78df2e9dd0ba08055d34b021480a016870b2] | committer: Rémi Denis-Courmont 

OpenGL: fix missing GLX window decoration

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=548f78df2e9dd0ba08055d34b021480a016870b2
---

 modules/video_output/opengl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index 3fbe5e6..ecacbeb 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -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 =




More information about the vlc-devel mailing list