summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-07-02 13:28:25 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-07-02 13:28:25 +0000
commit7707fc682f6c9b2beb7484941c20b5f7528076d4 (patch)
tree0c8918d7c4bd15a269c49183dcf3e50e9d50b27a /libvo
parente592b9391c735784c0022e9e9bf31040bd725d58 (diff)
downloadmpv-7707fc682f6c9b2beb7484941c20b5f7528076d4.tar.bz2
mpv-7707fc682f6c9b2beb7484941c20b5f7528076d4.tar.xz
properly redraw fullscreen window with -fs and zoom
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15886 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_quartz.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c
index 8fb1633f98..91a64f19ea 100644
--- a/libvo/vo_quartz.c
+++ b/libvo/vo_quartz.c
@@ -477,6 +477,7 @@ static OSStatus WindowEventHandler(EventHandlerCallRef nextHandler, EventRef eve
case kEventWindowBoundsChanged:
window_resized();
flip_page();
+ window_resized();
break;
default:
@@ -843,6 +844,10 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32
break;
}
+ //Show window
+ RepositionWindow(theWindow, NULL, kWindowCenterOnMainScreen);
+ ShowWindow (theWindow);
+
if(vo_fs)
window_fullscreen();
@@ -857,9 +862,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32
window_fullscreen();
}
- //Show window
- RepositionWindow(theWindow, NULL, kWindowCenterOnMainScreen);
- ShowWindow (theWindow);
+ window_resized();
return 0;
}