[Git][wine/wine][master] 2 commits: server: Track foreground process id, instead of looking for active window.
Alexandre Julliard pushed to branch master at wine / wine Commits: de6af738 by Rémi Bernon at 2026-01-14T17:04:41+01:00 server: Track foreground process id, instead of looking for active window. When foreground input is changed and given to a different process (for instance the desktop process), that process active window is not set until it handles its internal messages. This might cause a race condition between the new activated process and the original process trying to steal foreground back. We might allow it to get foreground back if we don't find any active window at the time of the set_foreground_window call. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58167 - - - - - 9043d697 by Rémi Bernon at 2026-01-14T17:04:41+01:00 server: Remove now unnecessary process-wide set_foreground flag. We allow windows to be each activated at least once after their creation and this is now mostly unnecessary. It also effectively allows processes to activate their first window twice, once because the window was never active before, and a second time because we only set the process-wide flag after checking the window flag, which is not the intended effect. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58167 - - - - - 5 changed files: - server/process.c - server/process.h - server/queue.c - server/user.h - server/winstation.c View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/1633d3b502292aad76ac1ded67185d... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/1633d3b502292aad76ac1ded67185d... You're receiving this email because of your account on gitlab.winehq.org.
participants (1)
-
Alexandre Julliard (@julliard)