jne@goldhill.COM (07/26/89)
I'm using X11.R3. When I have a toplevel shell widget and I move it using the window manager (I'm using uwm), I'm not notified in any manner and Xt gets out of sync. Specifically, w->core.x and the value returned by XGetGeometry are different. Do you have any suggestions for being able to determine the correct position quickly, i.e., without a server request? Jeff Eisen Gold Hill Computers
swick@ATHENA.MIT.EDU (Ralph R. Swick) (07/26/89)
> When I have a toplevel shell widget and I move it using the window > manager (I'm using uwm), I'm not notified in any manner and Xt > gets out of sync. Specifically, w->core.x and the value > returned by XGetGeometry are different. > > Do you have any suggestions for being able to determine the correct position > quickly, i.e., without a server request? This is a known bug in the R3 Xt implementation. Although the fix for uwm is not too complicated, the fix for real window managers is somewhat more so, so you'll have to wait 'till R4. If you use XTranslateCoordinates for now, you will be able to easily replace it with a call to XtTranslateCoords when you get the working R4 version.