[MPlayer-cvslog] CVS: main/libvo vo_macosx.m,1.1,1.2
Nicolas Plourde CVS
syncmail at mplayerhq.hu
Mon May 2 03:48:40 CEST 2005
CVS change done by Nicolas Plourde CVS
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv24518/libvo
Modified Files:
vo_macosx.m
Log Message:
add ontop
Index: vo_macosx.m
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_macosx.m,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vo_macosx.m 29 Apr 2005 11:05:16 -0000 1.1
+++ vo_macosx.m 2 May 2005 01:48:37 -0000 1.2
@@ -49,6 +49,7 @@
extern int vo_ontop;
extern int vo_fs;
static int isFullscreen;
+static int isOntop;
extern float monitor_aspect;
extern int vo_keepaspect;
extern float movie_aspect;
@@ -513,6 +514,16 @@
*/
- (void) ontop
{
+ if(vo_ontop)
+ {
+ [window setLevel:NSScreenSaverWindowLevel];
+ isOntop = YES;
+ }
+ else
+ {
+ [window setLevel:NSNormalWindowLevel];
+ isOntop = NO;
+ }
}
/*
More information about the MPlayer-cvslog
mailing list