# HG changeset patch # User nplourde # Date 1090587760 0 # Node ID 3a58fa9639d4c3ec89bffd40ac0bea095482e581 # Parent 9e7cba8fe56f26438d1ff528d6c78e787c2502e3 add support for -rootwin command diff -r 9e7cba8fe56f -r 3a58fa9639d4 libvo/vo_quartz.c --- a/libvo/vo_quartz.c Fri Jul 23 13:00:16 2004 +0000 +++ b/libvo/vo_quartz.c Fri Jul 23 13:02:40 2004 +0000 @@ -70,10 +70,13 @@ static int EnterMoviesDone = 0; static int get_image_done = 0; +extern int WinID;; 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[] = { @@ -569,6 +572,14 @@ if(vo_ontop) window_ontop(); + + if(WinID == 0) + { + vo_fs = TRUE; + winLevel = 0; + SetWindowGroupLevel(winGroup, CGWindowLevelForKey(levelList[winLevel])); + window_fullscreen(); + } return 0; }