[SDL] Movable windows

draekko draekko at drakonis.dyndns.org
Wed Jul 3 18:42:01 PDT 2002

I have been banging my head on this one all day, and have not found any
easy answer.

Question : Is there an easy way to move a window around that was created
through SDL? For example when an app is windowed that it can
remember and reset itself to the same screen location when launched.

So far i have looked through the list archive from now back to january,
tried google, and finally look through the source and found that
SDL_VIDEO_CENTER environment var (which seems to only work for X11) sets
up a window so that it centers on the screen. But thats not quite what i
was hoping for :)

I also tried hacking SDL to a movewindow function, but my XLib
experience is very limited, in the end it didn't work out.

Any insight, clues, sample apps, links to documentation would be


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020703/919d94dc/attachment-0008.pgp>

More information about the SDL mailing list