[Mplayer-cvslog] CVS: main/libvo vo_quartz.c,1.18,1.19

Nicolas Plourde CVS syncmail at mplayerhq.hu
Fri Jul 23 15:02:42 CEST 2004


CVS change done by Nicolas Plourde CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv6896/libvo

Modified Files:
	vo_quartz.c 
Log Message:
add support for -rootwin command

Index: vo_quartz.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_quartz.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- vo_quartz.c	22 Jul 2004 20:02:26 -0000	1.18
+++ vo_quartz.c	23 Jul 2004 13:02:40 -0000	1.19
@@ -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;
 }




More information about the MPlayer-cvslog mailing list