I’m having a problem with fullscreen SDL under Linux/X11. When I
SetVideoMode with a height and width of 800x500, SDL sets the X
resolution to 800x600. (This is what I expect).
When I request 1024x768, SDL sets the X resolution to 1024x768. (Also
what I expect)
But when I request 1024x700, I SDL sets the resolution 1600x1200 (my
biggest resolution, and the only one bigger than 1024x768 that I have
defined). I expected SDL to set the resolution to 1024x768.
Test code is available at
I can set the resolution to 1600x1200, 1024x768, and 800x600 manually
(using Ctrl-Alt-Num+) just fine.
Can anyone explain why this is happening? Is this a bug in SDL?
Thanks for your help.