[comp.windows.x] FYI: Known bug in X11 R3

monty@taveng.dec.com (Monty Sagal) (07/30/89)

Path:
hiatus.dec.com!shlump.nac.dec.com!decwrl!ucbvax!tut.cis.ohio-state.edu!b
loom-beacon!ATHENA.MIT.EDU!swick
From: swick@ATHENA.MIT.EDU (Ralph R. Swick)
Newsgroups: comp.windows.x
Subject: Re: X and Y of shell widgets.
Date: 26 Jul 89 15:57:44 GMT
References: <8907261451.AA04764@godzilla.goldhill.com>
Sender: daemon@bloom-beacon.MIT.EDU
Organization: DEC/MIT Project Athena
Lines: 14

> 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.