Would it be possible to call GetVideoInfo before SDL is initialised, and then putting current_w and current_h in, say, reserved variables.
This is so the current desktop size can be retrieved.
Oh! Is it not properly restored when fullscreen shuts down?
Yes, it is :)
I need the desktop size to centre windows on Linux (and Mac come to that). Plus, I can also check to make sure that a window resolution isn't bigger than the screen.