Never activate the window on SW_SHOWNOACTIVATE.
This commit is contained in:
parent
867fb9d79e
commit
046dbf94f8
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue