Hi when creating a window, i pass in the following flags
Code:
auto window_flag = SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN | SDL_WINDOW_MINIMIZED;
auto window = SDL_CreateWindow(“Sample”, 0, 0, 1024, 768, window_flag);
…
However the above code does not create the window in a minimized state. The window still appears as though it is created normally and shown in a normal manner
If I am to explicitly call SDL_MinimizeWindow(window), it works though.
regards