Path: utzoo!attcan!uunet!wuarchive!decwrl!bacchus.pa.dec.com!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Pixmap size Message-ID: <1990Aug20.200243.4773@wrl.dec.com> Date: 20 Aug 90 20:02:43 GMT References: <3254@syma.sussex.ac.uk> Sender: news@wrl.dec.com (News) Reply-To: klee@wsl.dec.com Organization: DEC Western Software Laboratory Lines: 16 In article , adri@dutncp8.tudelft.nl (Adri van Woerkom (A.B.)) writes: |> When XGetWindowAttributes is called with a Pixmap id as second parameter |> (instead of the window id) the width, height, depth and screen members |> of the returned XWindowAtributes structure are filled in (all others |> will return 0). This may work with some implementations, but is non-standard. XGetWindowAttributes is only guaranteed to work on windows. To get info on pixmaps, use XGetGeometry. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee