[SDL] SDL, twinview and xinerama

Eddie Ringle eddie at eringle.net
Thu Dec 16 18:30:11 PST 2010


Good to hear there is some discussion on this topic. I've started looking
deeper into the code myself, and plan on doing some hacking over the next
few days.

Eddie Ringle
eddie at eringle.net
http://eddieringle.com/


On Mon, Dec 6, 2010 at 11:51 AM, Sam Lantinga <slouken at libsdl.org> wrote:

> It's been a while since I looked at the Xinerama stuff, but the
> intention is that you see each monitor separately.  You're welcome to
> dig into it and submit a patch.
>
> Thanks!
>
> On Tue, Nov 30, 2010 at 5:09 AM, Manuel Massing
> <m.massing at warped-space.de> wrote:
> > Hi,
> >
> > being new to the SDL 1.3 API, I was wondering how a Xinerama multi-head
> > configuration would/should be exposed by the SDL1.3 API?
> >
> > At the moment, if multiple monitors are enabled via twinview,
> > SDL_GetNumVideoDisplays detects a single display (because X11_InitModes
> does
> > no Xinerama or XRandR handling at all).
> >
> > When enumerating available modes in X11_GetDisplayModes, it does query
> those
> > extensions, though.
> >
> > If it is the intention of the SDL API:
> >
> >        1) to return the number of connected displays in
> SDL_GetNumVideoDisplays
> >        (as I suspect and hope)?
> >
> >        2) Or is the current behaviour correct and there is no explicit
> way of
> >        choosing a xinerama screen via the VideoDisplay number? Am I
> >        misunderstanding the intention of the whole VideoDisplay API?
> >
> > In case of 1) (and if nobody is working on this), I could try to
> implement the
> > necessary Xinerama handling. See also
> > http://forums.libsdl.org/viewtopic.php?t=6261
> >
> > thanks,
> >
> >        Manuel
> > _______________________________________________
> > SDL mailing list
> > SDL at lists.libsdl.org
> > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
> >
>
>
>
> --
>     -Sam Lantinga, Founder and President, Galaxy Gameworks LLC
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20101216/d2722ac1/attachment-0008.htm>


More information about the SDL mailing list