[PATCH 2/2] quartz: Don't say we have a menu to AdjustWindowRectEx since the created window doesn't have one.

Christian Costa titan.costa at gmail.com
Tue Oct 9 16:55:53 CDT 2012


---
 dlls/quartz/videorenderer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/quartz/videorenderer.c b/dlls/quartz/videorenderer.c
index 50a01fc..d6b87fa 100644
--- a/dlls/quartz/videorenderer.c
+++ b/dlls/quartz/videorenderer.c
@@ -184,7 +184,7 @@ static void VideoRenderer_AutoShowWindow(VideoRendererImpl *This)
             }
         }
 
-        AdjustWindowRectEx(&This->WindowPos, style, TRUE, style_ex);
+        AdjustWindowRectEx(&This->WindowPos, style, FALSE, style_ex);
 
         TRACE("WindowPos: %d %d %d %d\n", This->WindowPos.left, This->WindowPos.top, This->WindowPos.right, This->WindowPos.bottom);
         SetWindowPos(This->baseControlWindow.baseWindow.hWnd, NULL,




More information about the wine-patches mailing list