Fullscreen with XRandR

Hi there,

I have an app that uses SDL_SetVideoMode() with SDL_FULLSCREEN to create
a fullscreen surface. I have two monitors, one larger than the other.
At the moment, this call to SDL_SetVideoMode() causes the surface to be
displayed fullscreen on the smaller monitor while a blank, managed
window the size of the smaller monitor displays on the larger monitor.

The function SDL_ListModes() seems to ignore the larger monitor. It
seems to return modes for the smaller monitor, plus one mode the size of
the whole virtual display (ie, smaller and larger monitors together.)

What I would like to do is to query a list of monitors, the modes that
each individual monitor supports, and then be able to create a
fullscreen surface for a specific monitor in a specific mode.

How can I do this?

Thanks,

Bob Ham–
Bob Ham <@Bob_Ham>

for (;:wink: { ++pancakes; }
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20091013/c6d51101/attachment.pgp

This is something that is planned for SDL 1.3.

See ya!On Tue, Oct 13, 2009 at 6:01 AM, Bob Ham wrote:

Hi there,

I have an app that uses SDL_SetVideoMode() with SDL_FULLSCREEN to create
a fullscreen surface. ?I have two monitors, one larger than the other.
At the moment, this call to SDL_SetVideoMode() causes the surface to be
displayed fullscreen on the smaller monitor while a blank, managed
window the size of the smaller monitor displays on the larger monitor.

The function SDL_ListModes() seems to ignore the larger monitor. ?It
seems to return modes for the smaller monitor, plus one mode the size of
the whole virtual display (ie, smaller and larger monitors together.)

What I would like to do is to query a list of monitors, the modes that
each individual monitor supports, and then be able to create a
fullscreen surface for a specific monitor in a specific mode.

How can I do this?

Thanks,

Bob Ham


Bob Ham

for (;:wink: { ++pancakes; }


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

Is there a roadmap or some similar plan for 1.3?

BobOn Tue, 2009-10-13 at 08:49 -0700, Sam Lantinga wrote:

This is something that is planned for SDL 1.3.

See ya!

On Tue, Oct 13, 2009 at 6:01 AM, Bob Ham <@Bob_Ham> wrote:

Hi there,

I have an app that uses SDL_SetVideoMode() with SDL_FULLSCREEN to create
a fullscreen surface. I have two monitors, one larger than the other.
At the moment, this call to SDL_SetVideoMode() causes the surface to be
displayed fullscreen on the smaller monitor while a blank, managed
window the size of the smaller monitor displays on the larger monitor.

The function SDL_ListModes() seems to ignore the larger monitor. It
seems to return modes for the smaller monitor, plus one mode the size of
the whole virtual display (ie, smaller and larger monitors together.)

What I would like to do is to query a list of monitors, the modes that
each individual monitor supports, and then be able to create a
fullscreen surface for a specific monitor in a specific mode.

How can I do this?

Thanks,

Bob Ham


Bob Ham <@Bob_Ham>

for (;:wink: { ++pancakes; }


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Bob Ham <@Bob_Ham>

for (;:wink: { ++pancakes; }
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20091013/ead805e0/attachment.pgp

2009/10/13 Bob Ham :

Is there a roadmap or some similar plan for 1.3?
on SVN:
trunk/SDL/TODO

Nothing with dates? :-)On Tue, 2009-10-13 at 15:03 -0400, Kenneth Bull wrote:

2009/10/13 Bob Ham <@Bob_Ham>:

Is there a roadmap or some similar plan for 1.3?
on SVN:
trunk/SDL/TODO


Bob Ham <@Bob_Ham>

for (;:wink: { ++pancakes; }
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20091013/f24918a6/attachment.pgp