Virtual desktop and fullscreen

Hello,
i’m trying to get the screen resolution to set up a good fullscreen on a
computer with a virtual desktop.
With SDL_GetVideoInfo()->current_(h|w) i get the virtual desktop
resolution so in fullscreen the window is too big for the screen.
My question is : how can i get the current screen resolution ?

Best regards

(System : debian etch)–
R?mi Duraffort

At this time, you can’t do that through SDL. You can sacrifice
portability and special-case some X11 code, but I don’t think that’s a
problem with the proper fallbacks since most other windowing systems
don’t support a virtual desktop.
-:sigma.SBOn Jan 3, 2008 8:38 AM, Remi Duraffort <remi.duraffort at wanadoo.fr> wrote:

My question is : how can i get the current screen resolution ?

Solra Bizna a ?crit :> On Jan 3, 2008 8:38 AM, Remi Duraffort <@Remi_Duraffort> wrote:

My question is : how can i get the current screen resolution ?

At this time, you can’t do that through SDL. You can sacrifice
portability and special-case some X11 code, but I don’t think that’s a
problem with the proper fallbacks since most other windowing systems
don’t support a virtual desktop.
-:sigma.SB
Thanks!
Is this feature, sheduled for the future of SDL ?


R?mi Duraffort

Is this feature, sheduled for the future of SDL ?

I imagine it’s something that could be added to SDL 1.3

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