I’ve got 3 screens on my computer (xinerama) they are 15", 19" and 15"
(in that order, left to right)
when I try to play a game or whatever that uses SDL and runs fullscreen
it allways goes fullscreen on the leftmost monitor.
I’d like it to run on the middle (biggest) monitor.
is this possible ?
Sincerely, Aaargh!–
Just because you’re paranoid
doesn’t mean THEY are not out to get you.
I’ve got 3 screens on my computer (xinerama) they are 15", 19" and 15"
(in that order, left to right)
when I try to play a game or whatever that uses SDL and runs fullscreen
it allways goes fullscreen on the leftmost monitor.
I’d like it to run on the middle (biggest) monitor.
is this possible ?
Have you tried changing the value of the DISPLAY environment variable?
I’ve got 3 screens on my computer (xinerama) they are 15", 19" and 15"
(in that order, left to right)
when I try to play a game or whatever that uses SDL and runs fullscreen
it allways goes fullscreen on the leftmost monitor.
I’d like it to run on the middle (biggest) monitor.
Have you tried changing the value of the DISPLAY environment variable?
As far as I know Xinerama creates a single screen out of several
physical screens, so changing the screen number of $DISPLAY shouldn’t
matter (otherwise SDL should honour it), but give it a try.
I can imagine it’s DGA or vidmode getting confused by xinerama so they
just pick the first screen and stick to it. When you find the problem,
please post your patches (and send them to Sam)
I’ve got 3 screens on my computer (xinerama) they are 15", 19" and 15"
(in that order, left to right)
when I try to play a game or whatever that uses SDL and runs fullscreen
it allways goes fullscreen on the leftmost monitor.
I’d like it to run on the middle (biggest) monitor.
Have you tried changing the value of the DISPLAY environment variable?
As far as I know Xinerama creates a single screen out of several
physical screens, so changing the screen number of $DISPLAY shouldn’t
matter (otherwise SDL should honour it), but give it a try.
sorry if this doesn’t help at all.
i’m not framiliar with xinerama, but when IRIX is running multiple
monitors linked as one display, you can still set the DISPLAY
environment to pick between monitors…
the format is :monitor.screen, so to force something to the second
monitor, setenv DISPLAY :0.1
I’ve got 3 screens on my computer (xinerama) they are 15", 19" and 15"
(in that order, left to right)
when I try to play a game or whatever that uses SDL and runs fullscreen
it allways goes fullscreen on the leftmost monitor.
I’d like it to run on the middle (biggest) monitor.
Have you tried changing the value of the DISPLAY environment variable?
As far as I know Xinerama creates a single screen out of several
physical screens, so changing the screen number of $DISPLAY shouldn’t
matter (otherwise SDL should honour it), but give it a try.
sorry if this doesn’t help at all.
i’m not framiliar with xinerama, but when IRIX is running multiple
monitors linked as one display, you can still set the DISPLAY
environment to pick between monitors…
the format is :monitor.screen, so to force something to the second
monitor, setenv DISPLAY :0.1
And sheesh, shouldn’t you, of all people, know, Sam?
I think I’m responsible for that part. SDL has no real multihead support
at all right now (unless you are using hacks like Xinerama); all the
$DISPLAY value does is directing it to use a particular screen.
True multihead (code-named “Zaphod”) is something I’d like to have at
some point in the future. This will necessarily imply multi-window
support too, as it is useful when debugging