Christian Costa : quartz: Don' t say we have a menu to AdjustWindowRectEx since the created window doesn' t have one.

Alexandre Julliard julliard at winehq.org
Wed Oct 10 15:07:51 CDT 2012


Module: wine
Branch: master
Commit: c82d96fded3fabeee7a13fd60599a4a1bba49d07
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c82d96fded3fabeee7a13fd60599a4a1bba49d07

Author: Christian Costa <titan.costa at gmail.com>
Date:   Tue Oct  9 23:55:53 2012 +0200

quartz: Don't say we have a menu to AdjustWindowRectEx since the created window doesn't have one.

---

 dlls/quartz/videorenderer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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-cvs mailing list