ShowWindow should not optimize SW_HIDE, it's the job of SetWindowPos.

This commit is contained in:
Dmitry Timoshkov 2004-04-02 20:16:39 +00:00 committed by Alexandre Julliard
parent 85571bb128
commit 0d3748bbf6

View file

@ -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;