[vlc-commits] commit: Qt4-X11: cannot embed video if wallpaper mode is on ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Mar 3 17:53:55 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar 3 18:52:29 2010 +0200| [42ed348c15f99491502acb7b9d517bc45c24d452] | committer: Rémi Denis-Courmont
Qt4-X11: cannot embed video if wallpaper mode is on
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=42ed348c15f99491502acb7b9d517bc45c24d452
---
modules/gui/qt4/qt4.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index eba2231..586c8d1 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -539,6 +539,10 @@ static int WindowOpen( vlc_object_t *p_obj )
/* */
if( p_wnd->cfg->is_standalone )
return VLC_EGENERIC;
+#if defined (Q_WS_X11)
+ if( var_InheritBool( p_obj, "video-wallpaper" ) )
+ return VLC_EGENERIC;
+#endif
vlc_value_t val;
More information about the vlc-commits
mailing list