Select Xinerama-screen?

Hi!

I’m trying to implement xinerama-support for Freevo ( http://freevo.sf.net ),
but I don’t know how to make SDL fullscreen on another screen than 0… I’ve
searched through the docs and even the sdl-sources, but I can’t find
anything… It says “SDL fullscreen defaults to xinerama screen 0”, but then
how do I specify I want it on xinerama screen 1??
Please help me!!!

Best regards
Per Wigren

PS. Please CC me!

Hi!

I’m trying to implement xinerama-support for Freevo ( http://freevo.sf.net ),
but I don’t know how to make SDL fullscreen on another screen than 0… I’ve
searched through the docs and even the sdl-sources, but I can’t find
anything… It says “SDL fullscreen defaults to xinerama screen 0”, but then
how do I specify I want it on xinerama screen 1??

Good question. I can add an environment variable for you, if you want.
There’s no API way to choose which monitor in a multimonitor setup to
use for display.

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

Hi!

I’m trying to implement xinerama-support for Freevo ( http://freevo.sf.net
),

but I don’t know how to make SDL fullscreen on another screen than 0…
I’ve

searched through the docs and even the sdl-sources, but I can’t find
anything… It says “SDL fullscreen defaults to xinerama screen 0”, but
then

how do I specify I want it on xinerama screen 1??

Good question. I can add an environment variable for you, if you want.
There’s no API way to choose which monitor in a multimonitor setup to
use for display.

That would be great!! Exactly what I need!

Thanks,
Per Wigren

Hi!

I’m trying to implement xinerama-support for Freevo ( http://freevo.sf.net ),
but I don’t know how to make SDL fullscreen on another screen than 0…

I tried adding the environment variable to specify the screen, and it turns
out that as far as I can tell the XFree86 vidmode extension used to change
resolution of the X11 display only works on Xinerama screen 0. Therefore,
you could go fullscreen on another Xinerama screen, but you wouldn’t be able
to change resolution.

This isn’t a problem for multi-head setups that use distinct displays for
each head, only Xinerama setups.

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