Never activate the window on SW_SHOWNOACTIVATE.

oldstable
Alexandre Julliard 2002-04-24 22:26:34 +00:00
parent 867fb9d79e
commit 046dbf94f8
1 changed files with 1 additions and 2 deletions

View File

@ -1213,8 +1213,7 @@ BOOL X11DRV_ShowWindow( HWND hwnd, INT cmd )
break;
case SW_SHOWNOACTIVATE:
swp |= SWP_NOZORDER;
if (GetActiveWindow()) swp |= SWP_NOACTIVATE;
swp |= SWP_NOACTIVATE | SWP_NOZORDER;
/* fall through */
case SW_SHOWNORMAL: /* same as SW_NORMAL: */
case SW_SHOWDEFAULT: /* FIXME: should have its own handler */