Alexandre Julliard pushed to branch master at wine / wine Commits: d56f36c1 by Zhiyi Zhang at 2026-04-20T20:38:44+02:00 Revert "win32u: Don't forcefully activate windows before restoring them.". This reverts commit f82b115dfcf3eefbbb533d31976d178e21bf1237. f82b115d was intended to fix SDL3 applications unexpectedly switching to the native display mode. However, after further investigations, the bug is caused by other issues rather than the NtUserSetActiveWindow() call. In fact, by tracing the message sequence when restoring a window, there should be a WM_ACTIVATE message before WM_SYSCOMMAND SC_RESTORE. Fix Warhammer: Vermintide 2 (552500) failing to enter fullscreen mode after focus loss. The game needs a WM_ACTIVATE message before WM_SYSCOMMAND SC_RESTORE. - - - - - 3 changed files: - dlls/win32u/message.c - dlls/winemac.drv/window.c - dlls/winex11.drv/window.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/d56f36c1aa0927a19d74bef66586572... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/d56f36c1aa0927a19d74bef66586572... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help