🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ba.windows.x
Article #74

Re: Absolute screen location

#74
From: Ken Lee
Date: Thu, 01 Apr 1993 00:29
10 lines
959 bytes
In article 22282@parc.xerox.com, fishkin@parc.xerox.com (Ken Fishkin) writes:
>How can a window find out where it is located with respect to
>the root window?
>    XGetGeometry tells a window where it is with respect to its
>parent, which is not the same thing.

Use XTranslateCoordinates()

---
Ken Lee, klee@synoptics.com
Technical Details
Message-ID: <C4s410.6L9@synoptics.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!biosci!netnews.synoptics.com!bugsbunny!klee
References: <1993Mar31.013515.22282@parc.xerox.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10e286,66f2e765744dc6d
X-Google-Attributes: gid10e286,public
X-Google-ArrivalTime: 1993-03-31 17:58:05 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!biosci!netnews.synoptics.com!bugsbunny!klee
From: klee@synoptics.com (Ken Lee)
Newsgroups: ba.windows.x
Subject: Re: Absolute screen location
Message-ID: <C4s410.6L9@synoptics.com>
Date: 1 Apr 93 00:29:23 GMT
References: <1993Mar31.013515.22282@parc.xerox.com>
Sender: news@synoptics.com
Reply-To: klee@synoptics.com
Organization: SynOptics Communications, Santa Clara CA
Lines: 10
Nntp-Posting-Host: bugsbunny.synoptics.com