🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ba.windows.x
Article #72

Absolute screen location

#72
From: Ken Fishkin
Date: Wed, 31 Mar 1993 01:35
13 lines
909 bytes
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.

    Consider, for example, an application which always wishes to draw
an arrow pointing towards the center of the screen. How can it find
out where it is located on the screen?

    thanks,

-- 
Ken Fishkin	fishkin@xerox.com
Technical Details
Message-ID: <1993Mar31.013515.22282@parc.xerox.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!decwrl!parc!xerox!fishkin

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10e286,66f2e765744dc6d,start
X-Google-Attributes: gid10e286,public
X-Google-ArrivalTime: 1993-03-30 17:36:59 PST
Newsgroups: ba.windows.x
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!decwrl!parc!xerox!fishkin
From: fishkin@parc.xerox.com (Ken Fishkin)
Subject:  Absolute screen location
Message-ID: <1993Mar31.013515.22282@parc.xerox.com>
Sender: news@parc.xerox.com
Organization: Xerox PARC
Date: Wed, 31 Mar 1993 01:35:15 GMT
Lines: 13