On Fri May 15 15:41:12 2026 +0000, Stian Low wrote:
Thanks for feedback and additional games/cases to test. @hverbeet, I'll make the changes you recommend for next push. @stefan, Empire Earth has issues with cursor not clearing after window loses and regains focus which may be related to swap rotation: https://bugs.winehq.org/show_bug.cgi?id=58308 https://bugs.winehq.org/buglist.cgi?quicksearch=Empire%20Earth%20 I'll revisit these and seek out similar games to expand test cases for next push. Bug 58308 is unlikely to be related to swapchain flipping. Minimizing and restoring fullscreen games is very complicated, especially in ddraw.
A possible symptom of flipping (or lack thereof) is the in-game resource count or building descriptions in the HUD jumping between an old and new content. But I think the game should be content with an accidental copy swapeffect instead of flip. If the resource count changes it'll redraw the text the next two frames. If the text remains static it stops drawing it because IDirectDrawSurface7::GetDC is very expensive. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10567#note_140071