Alexandre Julliard pushed to branch master at wine / wine
Commits: 0aeae8ca by Rémi Bernon at 2025-12-03T20:54:00+01:00 server: Check whether window can be made foreground earlier.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59075
- - - - - c823c3d9 by Rémi Bernon at 2025-12-03T20:54:00+01:00 server: Always allow windows to activate after their creation.
When a process closes all of its window then opens a new one, Windows often allows it to get its "foreground process" status back, as long as it didn't actively give foreground to another process.
On Wine the activate_other_window logic, or the host window manager, might have given focus to a different, non-parent, process already and we are preventing the old process from activating any window again.
This relaxes the restriction a bit more, and allows new windows to be activated once after their creation, regardless of whether their owner is the foreground process or not.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59075
- - - - -
3 changed files:
- server/queue.c - server/user.h - server/window.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/c18ccdd34a05d4cbcfb96778cb9c51...