I’ve run into a strange problem when developing a Windows application,
it appears that a window created with the SDL_WINDOW_MAXIMIZE bug
doesn’t honour window restore events properly.
My setup is Win7 + SDL2 + Codeblocks, using the following code as a
minimal test case, it successfully creates a window called ‘Test’, but
when I minimise that window and try to restore it again, nothing
If I create the window without using the SDL_WINDOW_MAXIMIZE flag,
then I can minimise and restore it with a problem.
Any ideas what is going on here?