Limits of the window size


When I created a resizable window, then tried to resize it as large as possible,
the width was limited to about 4096 pixels. Is this limited by SDL, or X11?
The mystery is that over 5000 pixel sized window can be created on this environment.

It’s on SDL-1.2.5, XFree86-4.3.1, Debian GNU/Linux testing.
The size of the screen of X11 is 5120x1536, which uses Xinerama extention to unite
5 double headed video card into a screen.


If you are interested in such a big screen, see