diff options
author | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-07-23 13:00:16 +0000 |
---|---|---|
committer | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-07-23 13:00:16 +0000 |
commit | d92b4225e13c52b4337c21de9867a3d5ab41ab8a (patch) | |
tree | 042716bc189aee3ac43f456c565ae69f8fd650af | |
parent | 7c296c8af5f3b6907aaa2c13ad2b12e86b25ec21 (diff) | |
download | mpv-d92b4225e13c52b4337c21de9867a3d5ab41ab8a.tar.bz2 mpv-d92b4225e13c52b4337c21de9867a3d5ab41ab8a.tar.xz |
add rootwin cmd to mac osx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12888 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | cfg-mplayer.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h index 1078046d6a..3c9ae7c27c 100644 --- a/cfg-mplayer.h +++ b/cfg-mplayer.h @@ -80,13 +80,16 @@ extern int ao_pcm_waveheader; #ifdef HAVE_X11 extern char *mDisplayName; -extern int WinID; extern int fs_layer; extern int stop_xscreensaver; extern char **vo_fstype_list; extern int vo_nomouse_input; #endif +#if defined(HAVE_X11) || defined(MACOSX) +extern int WinID; +#endif + #ifdef HAVE_AA extern int vo_aa_parseoption(m_option_t* conf, char *opt, char * param); extern void vo_aa_revertoption(m_option_t* opt,char* param); @@ -292,7 +295,6 @@ m_option_t mplayer_opts[]={ #ifdef HAVE_X11 // x11,xv,xmga,xvidix {"wid", &WinID, CONF_TYPE_INT, 0, 0, 0, NULL}, - {"rootwin", &WinID, CONF_TYPE_FLAG, 0, -1, 0, NULL}, {"icelayer", "-icelayer is obsolete. Use -fstype layer:<number> instead.\n", CONF_TYPE_PRINT, 0, 0, 0, NULL}, {"stop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 0, 1, NULL}, {"nostop-xscreensaver", &stop_xscreensaver, CONF_TYPE_FLAG, 0, 1, 0, NULL}, @@ -301,6 +303,10 @@ m_option_t mplayer_opts[]={ {"nomouseinput", &vo_nomouse_input, CONF_TYPE_FLAG,0,0,-1,NULL}, #endif +#if defined(HAVE_X11) || defined(MACOSX) + {"rootwin", &WinID, CONF_TYPE_FLAG, 0, -1, 0, NULL}, +#endif + #ifdef HAVE_XINERAMA {"xineramascreen", &xinerama_screen, CONF_TYPE_INT, CONF_RANGE, 0, 32, NULL}, #endif |