Xinerama/twinview + SDL/GL + fullscreen = offscreen

Recently, I came across a bug in SDL.
It seems to be a semi-recent problem, since it doesn’t show up with the
SDL in Rune, but it does show up in almost any newer SDL. Simply try to
run, say, UT2k3 in fullscreen on a twinview pseudo-xinerama setup, in E
0.16.5 (not sure if it happens in other window managers). The game will
display offscreen, though you can alt+enter and get to windowed mode.
This happens with at least foobillard as well, though with foobillard if
you move your mouse it’ll recenter properly. Replacing the ut2k3 sdl
with the SDL from rune helps that particular problem, but it’s got to be
a bug since the ut2k3 sdl is from CVS around the time the first ut2k3
demo was released.–
-zakk
@zakk
http://www.icculus.org/lgfaq/

ons 2003-02-19 klockan 07.59 skrev zakk:

Recently, I came across a bug in SDL.
It seems to be a semi-recent problem, since it doesn’t show up with the
SDL in Rune, but it does show up in almost any newer SDL. Simply try to
run, say, UT2k3 in fullscreen on a twinview pseudo-xinerama setup, in E
0.16.5 (not sure if it happens in other window managers). The game will
display offscreen, though you can alt+enter and get to windowed mode.
This happens with at least foobillard as well, though with foobillard if
you move your mouse it’ll recenter properly. Replacing the ut2k3 sdl
with the SDL from rune helps that particular problem, but it’s got to be
a bug since the ut2k3 sdl is from CVS around the time the first ut2k3
demo was released.
I dont know if I got you right here, but I’ve noticed something like
that too in ut2k3, that IF I try to click some other prog-window after
double-clicked the ut2k3-client, I get first a fullscreened window of
ut2k3, THEN, the next second i get a windowed mode ut2k3 and can’t use
other than keyboard-input on it…Is this the fault of SDL??–
Patrich Bj?rklund <@Patrich_Bjorklund>
Home Factory - shhh! I’m building a game here.