https://bugs.winehq.org/show_bug.cgi?id=52532
Bug ID: 52532 Summary: SDL 2.0.20 doesn't restore fullscreen mode when restoring a window Product: Wine Version: 7.1 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: madewokherd@gmail.com Distribution: ---
Same testcase as bug 52519.
SDL will, in some cases, minimize fullscreen windows when they are deactivated. If this happens in SDL 2.0.20, the window will not be fullscreen when it is restored.
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. * Restore the test program's window. * It appears with a windowed size rather than fullscreen.
Based on logs, I believe that SDL is requesting a fullscreen size and position, but Wine never requests NET_WM_STATE_FULLSCREEN. I'm not sure why.