From 41508ab12eef3858965702b5fd9ac615668b9a82 Mon Sep 17 00:00:00 2001 From: nplourde Date: Thu, 29 Jul 2004 14:59:48 +0000 Subject: add var vo_rootwin and -rootwin switch for mac osx git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12913 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-mplayer.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'cfg-mplayer.h') diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 3c9ae7c27c..c0ce06f5d3 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -84,10 +84,11 @@ extern int fs_layer; extern int stop_xscreensaver; extern char **vo_fstype_list; extern int vo_nomouse_input; +extern int WinID; #endif -#if defined(HAVE_X11) || defined(MACOSX) -extern int WinID; +#ifdef MACOSX +extern int vo_rootwin; #endif #ifdef HAVE_AA @@ -301,10 +302,11 @@ m_option_t mplayer_opts[]={ {"stop_xscreensaver", "Use -stop-xscreensaver instead, options with _ have been obsoleted.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, {"fstype", &vo_fstype_list, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL}, {"nomouseinput", &vo_nomouse_input, CONF_TYPE_FLAG,0,0,-1,NULL}, + {"rootwin", &WinID, CONF_TYPE_FLAG, 0, -1, 0, NULL}, #endif -#if defined(HAVE_X11) || defined(MACOSX) - {"rootwin", &WinID, CONF_TYPE_FLAG, 0, -1, 0, NULL}, +#ifdef MACOSX + {"rootwin", &vo_rootwin, CONF_TYPE_FLAG, 0, 0, 1, NULL}, #endif #ifdef HAVE_XINERAMA -- cgit v1.2.3