[SDL] Fullscreen linux problem

Ryan C. Gordon icculus at clutteredmind.org
Tue Sep 27 20:26:00 PDT 2005


> 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?

--ryan.






More information about the SDL mailing list