summaryrefslogtreecommitdiffstats
path: root/libvo/vo_quartz.c
diff options
context:
space:
mode:
authornplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-07-03 12:24:48 +0000
committernplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-07-03 12:24:48 +0000
commit706952e30dff75e0af68483f8287ca620a3e8998 (patch)
tree26b625929e99e186d52282762a8e7fa017713c0b /libvo/vo_quartz.c
parentff5fef698f4fdc9675a44cbc9755b020418b603c (diff)
downloadmpv-706952e30dff75e0af68483f8287ca620a3e8998.tar.bz2
mpv-706952e30dff75e0af68483f8287ca620a3e8998.tar.xz
fix various window resizing bug with menu option
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15903 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_quartz.c')
-rw-r--r--libvo/vo_quartz.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libvo/vo_quartz.c b/libvo/vo_quartz.c
index 1491db7359..4ed3bf842c 100644
--- a/libvo/vo_quartz.c
+++ b/libvo/vo_quartz.c
@@ -427,7 +427,10 @@ static OSStatus WindowEventHandler(EventHandlerCallRef nextHandler, EventRef eve
case kAspectOrgCmd:
movie_aspect = old_movie_aspect;
- SizeWindow(theWindow, dstRect.right, (dstRect.right/movie_aspect),1);
+ if(!vo_quartz_fs)
+ {
+ SizeWindow(theWindow, dstRect.right, (dstRect.right/movie_aspect),1);
+ }
window_resized();
break;
@@ -452,6 +455,8 @@ static OSStatus WindowEventHandler(EventHandlerCallRef nextHandler, EventRef eve
case kPanScanCmd:
vo_panscan = (!(vo_panscan));
CheckMenuItem (aspectMenu, 2, vo_panscan);
+ window_panscan();
+ window_resized();
break;
default: