# HG changeset patch # User nplourde # Date 1120310905 0 # Node ID b2f434649deccb9b55cfa0ed95220230861c2020 # Parent 31d08bb9e5c5f5c9bd189aaf5e97e1a4c74a15bf properly redraw fullscreen window with -fs and zoom diff -r 31d08bb9e5c5 -r b2f434649dec libvo/vo_quartz.c --- a/libvo/vo_quartz.c Sat Jul 02 08:43:57 2005 +0000 +++ b/libvo/vo_quartz.c Sat Jul 02 13:28:25 2005 +0000 @@ -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; }