[vlc-commits] skins2: wallpaper is not supported

Rémi Denis-Courmont git at videolan.org
Sun May 20 19:51:14 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 16 23:18:59 2018 +0300| [2dfbf709ab3ecc4d9992a2d09b5bbf12bc3f8a9e] | committer: Rémi Denis-Courmont

skins2: wallpaper is not supported

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

 modules/gui/skins2/src/skin_main.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/gui/skins2/src/skin_main.cpp b/modules/gui/skins2/src/skin_main.cpp
index 3d1f17d9a6..93f9f21e1a 100644
--- a/modules/gui/skins2/src/skin_main.cpp
+++ b/modules/gui/skins2/src/skin_main.cpp
@@ -344,6 +344,9 @@ static void WindowCloseLocal( intf_thread_t* pIntf, vlc_object_t *pObj )
 
 static int WindowOpen( vout_window_t *pWnd, const vout_window_cfg_t *cfg )
 {
+    if( var_InheritBool( pWnd, "video-wallpaper" ) )
+        return VLC_EGENERIC;
+
     if( cfg->type != VOUT_WINDOW_TYPE_INVALID )
     {
 #ifdef X11_SKINS



More information about the vlc-commits mailing list