I am using SDL 1.2.8-r1.
When I am able to switch to fullscreen mode without a problem
SDL_SetVideoMode(800, 600, 0, SDL_HWSURFACE | SDL_FULLSCREEN);
However, after I quit the application my desktop is resized - it is bigger and
does not fit on the screen. It looks the same as a virtual desktop - it moves
when the mouse cursor reaches a corner.
If I restart the X session everything is back to normal… until I try to switch
to fullscreen mode again.
Is there any special configuration I have to do? I could not find anything in
the SDL documentation.
When I am able to switch to fullscreen mode without a problem
SDL_SetVideoMode(800, 600, 0, SDL_HWSURFACE | SDL_FULLSCREEN);
However, after I quit the application my desktop is resized - it is bigger and
does not fit on the screen. It looks the same as a virtual desktop - it moves
when the mouse cursor reaches a corner.
If I restart the X session everything is back to normal… until I try to switch
to fullscreen mode again.
Did you call SDL_Quit() before terminating your application?