Path: utzoo!news-server.csri.toronto.edu!rutgers!njin!princeton!att!pacbell.com!decwrl!adobe!asente From: asente@adobe.com (Paul Asente) Newsgroups: comp.windows.x Subject: Re: Silly questions? Message-ID: <12588@adobe.UUCP> Date: 15 Mar 91 18:30:08 GMT References: Sender: news@adobe.COM Distribution: usa Organization: Adobe Systems Inc. Lines: 22 In article mazer@asterix.asterix.cns.caltech.edu (Jamie Mazer) writes: >1. It seems that the XtNx and XtNy values are cached in the widget > structure and not always updated when the window is moved (this is > for the toplevel window returned by XtInitialize)... > > So, is this a bug in my toolkit (the R3 libs supplied with Ultrix 4.0 > on a DECstation 50000/200)? or a feature? If the latter, what's the > correct way to determine the current window position? (Note: I get > the same effect on other R3 systems as well). It's probably a bug in your wndow manager. Xt can't tell when your top-level window gets moved unless the window manager tells it of the new position. You can work around it by using XTranslateCoordinates. -paul asente asente@adobe.com ...decwrl!adobe!asente Ratz put a bucket of liquid in front of me. "I wanted a glass of docs, Ratz. What the hell is this?" I barked. "Motif don't fit in a glass anymore," he barked back. I looked at the liquid. It was totally opaque to me.