Commit 046dbf94 authored by Alexandre Julliard's avatar Alexandre Julliard

Never activate the window on SW_SHOWNOACTIVATE.

parent 867fb9d7
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment