I was reading SDL2 documentation, in particular SDL_CreateWindow function and the possible flags for its flags argument: SDL_WindowFlags.
Since there are flags that are "mutually exclusive", for example SDL_WINDOW_MINIMIZED(64) and SDL_WINDOW_MAXIMIZED(128) I assume that one must be applied before the other or one gets ignored.
Therefore, if we set both of them as follows:
SDL_CreateWindow(WINDOW_TITLE, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, WINDOW_WIDTH, WINDOW_HEIGHT, SDL_WINDOW_MINIMIZED | SDL_WINDOW_MAXIMIZED);
the result is that the window gets minimized when the application starts.
So my question is: is there some kind of order priority rule?
I apologize if that's a duplicate, but couldn't formulate the question well enough to find the answer anywhere else.