* The evil global variables. We handle them with care, don't worry.
*****************************************************************************/
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__OS2__)
static bool b_daemon = false;
#endif
priv->actions = vlc_InitActions( p_libvlc );
/* Create a variable for showing the fullscreen interface */
- var_Create( p_libvlc, "intf-show", VLC_VAR_BOOL );
- var_SetBool( p_libvlc, "intf-show", true );
+ var_Create( p_libvlc, "intf-toggle-fscontrol", VLC_VAR_BOOL );
+ var_SetBool( p_libvlc, "intf-toggle-fscontrol", true );
/* Create a variable for the Boss Key */
var_Create( p_libvlc, "intf-boss", VLC_VAR_VOID );
+ /* Create a variable for showing the main interface */
+ var_Create( p_libvlc, "intf-show", VLC_VAR_BOOL );
+
/* Create a variable for showing the right click menu */
var_Create( p_libvlc, "intf-popupmenu", VLC_VAR_BOOL );
msg_Dbg( p_libvlc, "removing stats" );
-#ifndef WIN32
+#if !defined( WIN32 ) && !defined( __OS2__ )
char* psz_pidfile = NULL;
if( b_daemon )
char *psz_interface = var_CreateGetNonEmptyString( p_libvlc, "intf" );
if( !psz_interface ) /* "intf" has not been set */
{
-#ifndef WIN32
+#if !defined( WIN32 ) && !defined( __OS2__ )
if( b_daemon )
/* Daemon mode hack.
* We prefer the dummy interface if none is specified. */