SDL Xinerama support here!

Alright, I spent last night making this hack presentable. Here’s my
attempt to make SDL Do The Right Thing when doing fullscreen in a
Xinerama environment.

It, well, works for me. Tested only with Dose 2 And testgl so far as
thats all I have handy at the moment. Lost my UT cd. Damn it…

http://www.pouet.net/prod.php?which=3289

Dose 2 still leaves a managed window at +0+0, but near as I can tell its
not SDL thats doing it. :stuck_out_tongue_winking_eye:

Still some improvements to be made, like say an environment var to pick
what head to display on if assuming 0 is wrong.

And my autoconf patch is BS. Someone who’s an autoconf wizard please
write a real entry. Heh.

Remember to run ‘autoconf’ to rebuild configure after patching.

If the attachment doesn’t work its also downloadable at
http://www.haxxed.com:9000/random/code/SDL-1.2.2-xinerama.patch.bz2

Test it please. :wink:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: SDL-1.2.2-xinerama.patch
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20010920/aecbf100/attachment-0007.txt

Alright, I spent last night making this hack presentable. Here’s my
attempt to make SDL Do The Right Thing when doing fullscreen in a
Xinerama environment.

Thanks! I’ve integrated your patch into SDL CVS code, heavily tweaked it,
and made it available for people to test:
http://www.libsdl.org/cvs.html

See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment