How can i optain current desktop size?

i tried SDL_syswm.h but i cant find what’s what.
X11 things are too difficult to me. i wish there are
somewhat smarter way…

thanks.

i tried SDL_syswm.h but i cant find what’s what.
X11 things are too difficult to me. i wish there are
somewhat smarter way…

Hhmm…you probably can’t through SDL.

You can use SDL_ListModes(SDL_FULLSCREEN), and see what comes back.
Presumably the largest resolution isn’t “faked” by SDL, but that’s just
conjecture on my part, and maybe the user is actually using a smaller
resolution than that.

–ryan.