Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!apple!decwrl!bacchus.pa.dec.com!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Window's absolute position Keywords: position, x, y, absolute Message-ID: <1990Jun14.225619.28393@wrl.dec.com> Date: 14 Jun 90 22:56:19 GMT References: <485@ntpal.UUCP> Sender: news@wrl.dec.com (News) Reply-To: klee@wsl.dec.com Organization: DEC Western Software Laboratory Lines: 12 |> I need to find the absolute position of a newly created window. Start with XGetGeometry to get the coordinates of the window relative to it's parent (possibly a border window from the window manager). Then use XTranslateCoordinates to convert these to coordinates relative to the root or any other window. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee