https://bugs.winehq.org/show_bug.cgi?id=37716
--- Comment #13 from Stefan Dösinger stefan@codeweavers.com --- I can reproduce the problem with Ghost Recon Advanced Warfighter 2. The game minimizes before showing the intro videos.
The game destroys a window that is not the device window nor focus window after setting up the device. I assume the window is the splash screen window that is shown during the loading process. When the window is destroyed, Wine sets the window focus to the device (== focus) window. Unfortunately set_foreground_window first sets the active window to NULL, which sends WM_ACTIVATEAPP(wparam = 0), and then sets it to the device/focus window, which sends WM_ACTIVATEAPP(wparam = 1).