Mercurial > mplayer.hg
changeset 15885:b2f434649dec
properly redraw fullscreen window with -fs and zoom
author | nplourde |
---|---|
date | Sat, 02 Jul 2005 13:28:25 +0000 |
parents | 31d08bb9e5c5 |
children | e44fe4cf44f9 |
files | libvo/vo_quartz.c |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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; }