diff options
author | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-07-29 14:59:48 +0000 |
---|---|---|
committer | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-07-29 14:59:48 +0000 |
commit | 41508ab12eef3858965702b5fd9ac615668b9a82 (patch) | |
tree | 321ea212abeff384f1ab9d923d7babb8ea0ec74c /cfg-mplayer.h | |
parent | 1a16bb4a04e3de4e285cb70633b68f586240822c (diff) | |
download | mpv-41508ab12eef3858965702b5fd9ac615668b9a82.tar.bz2 mpv-41508ab12eef3858965702b5fd9ac615668b9a82.tar.xz |
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
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r-- | cfg-mplayer.h | 10 |
1 files changed, 6 insertions, 4 deletions
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 |