Dmitry Timoshkov : winex11.drv:
Fix the regression caused by a previous change.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jan 2 06:45:49 CST 2007
Module: wine
Branch: master
Commit: 0995a6ea434cd9e1a4f8c7ea3fba54f1ff0f2794
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0995a6ea434cd9e1a4f8c7ea3fba54f1ff0f2794
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Sat Dec 30 22:03:36 2006 +0800
winex11.drv: Fix the regression caused by a previous change.
---
dlls/winex11.drv/winpos.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c
index 3c41b65..317500d 100644
--- a/dlls/winex11.drv/winpos.c
+++ b/dlls/winex11.drv/winpos.c
@@ -623,6 +623,7 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT c
/* fall through */
case SW_SHOWNORMAL: /* same as SW_NORMAL: */
case SW_SHOWDEFAULT: /* FIXME: should have its own handler */
+ if (!wasVisible) swp |= SWP_SHOWWINDOW;
if (style & (WS_MINIMIZE | WS_MAXIMIZE))
{
swp |= SWP_FRAMECHANGED;
@@ -630,7 +631,6 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT c
}
else
{
- if (!wasVisible) swp |= SWP_SHOWWINDOW;
swp |= SWP_NOSIZE | SWP_NOMOVE;
}
if (style & WS_CHILD && !(swp & SWP_STATECHANGED)) swp |= SWP_NOACTIVATE | SWP_NOZORDER;
More information about the wine-cvs
mailing list