diff options
Diffstat (limited to 'libvo/vo_quartz.c')
-rw-r--r-- | libvo/vo_quartz.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c index ce3b36f3cf..7f6207ceea 100644 --- a/libvo/vo_quartz.c +++ b/libvo/vo_quartz.c @@ -70,12 +70,11 @@ static MatrixRecord matrix; 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 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32 if(vo_ontop) window_ontop(); - if(WinID == 0) + if(vo_rootwin) { vo_fs = TRUE; winLevel = 0; |