Alexandre Julliard pushed to branch master at wine / wine
Commits: 7b58ce5a by Rémi Bernon at 2024-11-19T21:11:54+01:00 d3d9/tests: Flush events after minimizing and restoring focus window.
Minimizing the window might trigger a focus change to the dummy window, while restoring and setting foreground should change the foreground back to the focus window.
However, the X window manager will instead send WM_TAKE_FOCUS event to the dummy window and to the focus window concurrently, and the dummy window might reply to it *after* we've restored the foreground to the focus window. This will later cause the device window to fail to get foreground, and the tests to randomly fail.
- - - - -
1 changed file:
- dlls/d3d9/tests/d3d9ex.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/7b58ce5a025e1413a1325dd19733879...