Mercurial > mplayer.hg
diff cfg-mplayer.h @ 12912:1f6bb2356d18
add var vo_rootwin and -rootwin switch for mac osx
author | nplourde |
---|---|
date | Thu, 29 Jul 2004 14:59:48 +0000 |
parents | 9e7cba8fe56f |
children | d38bf4094bb5 |
line wrap: on
line diff
--- a/cfg-mplayer.h Thu Jul 29 00:57:22 2004 +0000 +++ b/cfg-mplayer.h Thu Jul 29 14:59:48 2004 +0000 @@ -84,10 +84,11 @@ 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 @@ {"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