You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, when a fullscreen window loses focus, SDL will minimize it. If this happens in Wine, starting with SDL 2.0.18 (I also tested 2.0.20 and main), the window receives SDL_WINDOWEVENT_FOCUS_GAINED when it's minimized.
This uses wmain because that was the easiest way I could get it to build in mingw. It should work the same with main or WinMain.
To reproduce the bug:
Run the test program in Wine with SDL_EVENT_LOGGING=1.
Click the window to fullscreen it.
Alt+tab to another window.
The last focus event logged was FOCUS_GAINED.
This appears to be a Wine bug, but I wanted to file it here so I could send in a work-around. I don't think this is really a regression, it's just that previous versions didn't detect the focus loss in Wine.
There is also a bug where the window does not restore to fullscreen correctly, but I will file that separately.
The text was updated successfully, but these errors were encountered:
In some cases, when a fullscreen window loses focus, SDL will minimize it. If this happens in Wine, starting with SDL 2.0.18 (I also tested 2.0.20 and main), the window receives SDL_WINDOWEVENT_FOCUS_GAINED when it's minimized.
Here is a test program to reproduce the bug:
This uses wmain because that was the easiest way I could get it to build in mingw. It should work the same with main or WinMain.
To reproduce the bug:
This appears to be a Wine bug, but I wanted to file it here so I could send in a work-around. I don't think this is really a regression, it's just that previous versions didn't detect the focus loss in Wine.
There is also a bug where the window does not restore to fullscreen correctly, but I will file that separately.
The text was updated successfully, but these errors were encountered: