From 0d3748bbf679aa04fc83b0bc4679f7e42453f9a8 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Fri, 2 Apr 2004 20:16:39 +0000 Subject: [PATCH] ShowWindow should not optimize SW_HIDE, it's the job of SetWindowPos. --- dlls/x11drv/winpos.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/x11drv/winpos.c b/dlls/x11drv/winpos.c index b6e68ea4453..3e65aaf235d 100644 --- a/dlls/x11drv/winpos.c +++ b/dlls/x11drv/winpos.c @@ -1280,7 +1280,6 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT cmd ) switch(cmd) { case SW_HIDE: - if (!wasVisible) goto END; swp |= SWP_HIDEWINDOW | SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE | SWP_NOZORDER; break;