]> git.sesse.net Git - vlc/commitdiff
Qt4-X11: cannot embed video if wallpaper mode is on
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 3 Mar 2010 16:52:29 +0000 (18:52 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 3 Mar 2010 16:52:29 +0000 (18:52 +0200)
modules/gui/qt4/qt4.cpp

index eba2231e92b33357210e49290593bebe78056c2f..586c8d1f90893f656ae22c541af401f2f2f3788e 100644 (file)
@@ -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;