Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!oliveb!orc!decwrl!bacchus.pa.dec.com!asente From: asente@wrl.dec.com (Paul Asente) Newsgroups: comp.windows.x Subject: Re: how do you get correct window position? Message-ID: <1990Jun14.060559.9821@wrl.dec.com> Date: 14 Jun 90 06:05:59 GMT References: <9006131913.AA02147@intrepid.itstd.sri.com> Sender: news@wrl.dec.com (News) Organization: DEC Western Software Lab Lines: 10 In article <9006131913.AA02147@intrepid.itstd.sri.com> davy@itstd.sri.COM writes: >How do I get the *correct* (x,y) position of the window belonging to >the shell widget so I can create another one in exactly the same >place? If you have an ICCCM-compliant window manager (as I belive the R4 twm is) XtTranslateCoords should do the trick for you. -paul asente asente@decwrl.dec.com ...!decwrl!asente