Sometimes it is handy to know the properties of the mainWindow before the screenWindow is created with SDL_SetVideoMode(). This patch exposes the mainWindow through GetWMInfo() so programs can query the mainWindow between SDL_Init() and SDL_SetVideoMode().
Sorry about the whitespace changes on a couple of extra lines.
Hello,
Sometimes it is handy to know the properties of the mainWindow before the screenWindow is created with SDL_SetVideoMode(). This patch exposes the mainWindow through GetWMInfo() so programs can query the mainWindow between SDL_Init() and SDL_SetVideoMode().
Sorry about the whitespace changes on a couple of extra lines.