Fullscreen code for SDL 1.3 x11

Anyone else having trouble with fullscreen in x11 in pure SDL 1.3
(using SDL_NO_COMPAT)? Try this code in SDL/src/video. In
SDL_UpdateFullscreenMode() this adds toggling of the window border and
setting the position and size of the window. To toggle the border, I
broke the decoration setting code out of X11_CreateWindow() into its
own function. There are probably gobs of corner cases not accounted
for here, but at least I can play my game in fullscreen now.

Tried to get fullscreen working in the win32 code, but Windows is
kicking my butt so far.–
Terry Welsh / mogumbo ‘at’ gmail.com
www.reallyslick.com / www.mogumbo.com
-------------- next part --------------
A non-text attachment was scrubbed…
Name: video.tar.gz
Type: application/x-gzip
Size: 28770 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20100218/1cfc7b88/attachment.bin