[PATCH v2 0/5] MR169: user32/tests: Cleanup some tests.

Stefan Dösinger (@stefan) wine at gitlab.winehq.org
Wed Jun 1 13:23:12 CDT 2022


Afaiu SetForegroundWindow can fail on Windows if the terminal that is running the tests wasn't the foreground window when the test was started. I.e. it is some sort of focus stealing prevention.

In the d3d tests we have a few similar tests. Those are mostly motivated by Linux WMs refusing to give us focus, not so much on Windows. There is also the case of fvwm2 or other WMs with a focus-follows-mouse setting that will make SetForegroundWindow not do what you want it to do.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/169#note_1470



More information about the wine-devel mailing list