ShowWindow shouldn't fix SWP_ flags, it's the job of SetWindowPos.

oldstable
Dmitry Timoshkov 2004-06-18 19:37:37 +00:00 committed by Alexandre Julliard
parent 68467db6c6
commit b6175f49af
1 changed files with 0 additions and 9 deletions

View File

@ -1316,15 +1316,6 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT cmd )
if (wasVisible) goto END;
swp |= SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOMOVE;
/*
* ShowWindow has a little peculiar behavior that if the
* window is already the topmost window, it will not
* activate it.
*/
if (GetTopWindow(NULL)==hwnd && (wasVisible || GetActiveWindow() == hwnd))
swp |= SWP_NOACTIVATE;
break;
case SW_SHOWNOACTIVATE: