Mercurial > mplayer.hg
diff libvo/vo_quartz.c @ 12912:1f6bb2356d18
add var vo_rootwin and -rootwin switch for mac osx
author | nplourde |
---|---|
date | Thu, 29 Jul 2004 14:59:48 +0000 |
parents | 5ee3a571c351 |
children | 8564f0979fcb |
line wrap: on
line diff
--- a/libvo/vo_quartz.c Thu Jul 29 00:57:22 2004 +0000 +++ b/libvo/vo_quartz.c Thu Jul 29 14:59:48 2004 +0000 @@ -70,12 +70,11 @@ static int EnterMoviesDone = 0; static int get_image_done = 0; +extern int vo_rootwin; extern int vo_ontop; extern int vo_fs; // user want fullscreen static int vo_quartz_fs; // we are in fullscreen -int WinID = -1; - static int winLevel = 1; int levelList[] = { @@ -572,7 +571,7 @@ if(vo_ontop) window_ontop(); - if(WinID == 0) + if(vo_rootwin) { vo_fs = TRUE; winLevel = 0;