What is Current Desktop Size?

Hi… i wish to change my program go into fullscreen
with current desktop size…

for example, im using 1280x1024 desktop, and SDL
initialized with 640x480. if i press “go to
fullscreen” key, X-windows switches to 640x480
fullscreen mode.
if i can get current desktop size, i will call
SDL_SetVideoMode again and use 1280x1024 fullscreen
mode.
but i cant find how to get current desktop size.
I found SDL_Syswm.h but I cant understand those
things.
Please help me… thanks.

PS : Please Ignore SPAM things below… i think yahoo
mail forces it… if i cant remove it, i will move my
mail account…

PS2 : im working on zipped image viewer. it is still
beta but im sure you can see images with almost no
problem. if interested mail me… thanks._____________________________________________________________________
??? ??? 10% ?? ??~ ??! ??
http://kr.travel.yahoo.com/config/yktravel
??? ???, ?? ???~ ??! ??? ???
http://promo.yahoo.co.kr/html/webjockey/

unfortunately i have no answer to this, but i look over SDL_syswm.h and
guessed (here, at work), i couldn’t test
that, on windows, a peace of code like

struct SDL_SysWMinfo info;
struct RECT aRect;
SDL_GetWMInfo(&info);
GetClientRect(info.window, &aRect);

would tells you what you need.

PS2 : im working on zipped image viewer. it is still
beta but im sure you can see images with almost no
problem. if interested mail me… thanks.
i am looking for tiny example to test a C# port of SDL, i am interesting in your exmaple to test it… (is it not too big ?..)