Index: libvo/vo_quartz.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_quartz.c,v retrieving revision 1.3 diff -u -r1.3 vo_quartz.c --- libvo/vo_quartz.c 4 May 2004 02:57:10 -0000 1.3 +++ libvo/vo_quartz.c 4 May 2004 11:44:25 -0000 @@ -334,6 +334,10 @@ | kWindowStandardHandlerAttribute | kWindowLiveResizeAttribute; + if (!(IMGFMT_IS_RGB(image_format))) { + windowAttrs &= (~kWindowResizableAttribute); + } + SetRect(&winRect, 0, 0, d_width, d_height); SetRect(&dstRect, 0, 0, d_width, d_height); SetRect(&imgRect, 0, 0, image_width, image_height); @@ -1003,7 +1007,9 @@ HideCursor(); //go fullscreen + if (IMGFMT_IS_RGB(image_format)) { ChangeWindowAttributes(theWindow, 0, kWindowResizableAttribute); + } MoveWindow (theWindow, 0, 0, 1); SizeWindow(theWindow, device_width, device_height,1); @@ -1025,7 +1031,9 @@ ShowCursor(); //revert window to previous setting + if (IMGFMT_IS_RGB(image_format)) { ChangeWindowAttributes(theWindow, kWindowResizableAttribute, 0); + } SizeWindow(theWindow, oldRect.right, oldRect.bottom,1); RepositionWindow(theWindow, NULL, kWindowCascadeOnMainScreen);