[comp.windows.x] moving windows : annoying

vyncke@esat.kuleuven.ac.be (06/11/90)

I have a problem moving my windows around :
If I want to move my window 100 pixels down, I first read the x,y coordinates
of my window (which returns the exact location of the window without title
etc.) and then I calculate the new location and call XMoveWindow(..). The
window manager (twm, but I tried also olwm) will position the outline
of the window (with title and border) at the new location.
This makes that my windows move more than I want. This is very annoying
when moving the window only a very little bit.

Is there any way to avoid this ,what I call, annoying and inconsequent
behaviour of the window managers :
- Can I work around this by setting some options for the window managers ?
- Do I have to add an offset to my new coordinates, and is there a way to get
  the correct offset from the window manager?

-- Frank Vyncke . Department of Robot Vision, KU Leuven, Belgium
                  vyncke@esat.kuleuven.ac.be