Window Move event

Hey guys… I am using OpenGL with SDL and I have a problem. When I
move the window I have to redraw my overlay and it leaves garbage all
over the place. I am currently redrawing everything all the time but
that is a pathetic waste of time. If I could get an event when the
window has moved (NOT resized) I could just update then. Is this
possible?

Robin.–
Robin Forster, Systems Engineer,
http://www.rsforster.ottawa.on.ca/

Anyone know how to:

  1. determine when the window is moved
  2. move the window yourself

Under X windows.–
Robin Forster, Systems Engineer,
http://www.rsforster.ottawa.on.ca/

Robin Forster wrote:

Anyone know how to:

  1. determine when the window is moved
  2. move the window yourself

Under X windows.

For number 2 the problem is this: I would like to remove the window
frame, kind of like in XMMS, and allow the user to drag the application
around without a window title bar etc.

Robin.–
Robin Forster, Systems Engineer,
http://www.rsforster.ottawa.on.ca/

Hi,

I have asked this before but never got a response. I have an OpenGL/SDL
app and I need to know if I can get notification when the window is
moved. I need this so I can redraw a portion of the screen.

Robin.–
Robin Forster, Systems Engineer,
http://www.rsforster.ottawa.on.ca/