[MPlayer-cvslog] CVS: main/libvo vo_quartz.c,1.50,1.51
Nicolas Plourde CVS
syncmail at mplayerhq.hu
Sat Jul 2 15:28:27 CEST 2005
CVS change done by Nicolas Plourde CVS
Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv27988/libvo
Modified Files:
vo_quartz.c
Log Message:
properly redraw fullscreen window with -fs and zoom
Index: vo_quartz.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_quartz.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- vo_quartz.c 1 Jul 2005 17:21:13 -0000 1.50
+++ vo_quartz.c 2 Jul 2005 13:28:25 -0000 1.51
@@ -477,6 +477,7 @@
case kEventWindowBoundsChanged:
window_resized();
flip_page();
+ window_resized();
break;
default:
@@ -843,6 +844,10 @@
break;
}
+ //Show window
+ RepositionWindow(theWindow, NULL, kWindowCenterOnMainScreen);
+ ShowWindow (theWindow);
+
if(vo_fs)
window_fullscreen();
@@ -857,9 +862,7 @@
window_fullscreen();
}
- //Show window
- RepositionWindow(theWindow, NULL, kWindowCenterOnMainScreen);
- ShowWindow (theWindow);
+ window_resized();
return 0;
}
More information about the MPlayer-cvslog
mailing list