]> git.sesse.net Git - vlc/blobdiff - src/libvlc.c
screensaver: convert to inhibit plugin
[vlc] / src / libvlc.c
index 746e6407d72b8c8409e1655ad13e4c48af06f460..c7c84de2addfd25408f3f7c47f35fc0834231bae 100644 (file)
@@ -918,17 +918,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
         intf_Create( p_libvlc, "inhibit,none" );
 #endif
 
-    /*
-     * If needed, load the Xscreensaver interface
-     * Currently, only for X
-     */
-#ifdef HAVE_X11_XLIB_H
-    if( config_GetInt( p_libvlc, "disable-screensaver" ) )
-    {
-        intf_Create( p_libvlc, "screensaver,none" );
-    }
-#endif
-
     if( (config_GetInt( p_libvlc, "file-logging" ) > 0) &&
         !config_GetInt( p_libvlc, "syslog" ) )
     {