Path: utzoo!attcan!uunet!wuarchive!usc!elroy.jpl.nasa.gov!ames!dftsrv!etac632!joe From: joe@etac632 (Joe Fulson-Woytek) Newsgroups: comp.windows.x Subject: Re: Getting window position Message-ID: <2968@dftsrv.gsfc.nasa.gov> Date: 2 Aug 90 12:32:01 GMT References: <1515@shodha.dec.com> Sender: news@dftsrv.gsfc.nasa.gov Reply-To: joe@etac632.gsfc.nasa.gov (Joe Fulson-Woytek) Organization: NSESCC, Goddard Space Flight Center, Greenbelt MD Lines: 15 In article <1515@shodha.dec.com> west@gsrc.enet.dec.com (Jim West (Stealth Contractor)) writes: > > Have you tried XTranslateCoordinates relative to the root window? The >x and y values are relative to the windows parent. It looks like on the >IRIS that the root window is the parent whereas on the HP and SUN there is >a window between you and the root...probably window manager frame window. > Yes, I gave this a try but still got the translated coordinates also came back 0.,0. While I still think it is important to be able to get the current position of the window within the screen, I have ended up using a different technigue for my problem which does not require this knowledge. Thanks to all who responded. Joe FUlson-Woytek