Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!uunet!mcsun!hp4nl!dutrun!dutncp8!adri From: adri@dutncp8.tudelft.nl (A.B. van Woerkom) Newsgroups: comp.windows.x Subject: Re: Pixmap size Message-ID: Date: 21 Aug 90 15:59:25 GMT References: <3254@syma.sussex.ac.uk> <1990Aug20.200243.4773@wrl.dec.com> Sender: news@dutrun.UUCP Lines: 24 klee@wsl.dec.com (Ken Lee) writes: >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). I had this from the O'Reilly Xlib Reference Manual, Third Printing, May 1989. >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. If this is the case a there should be some warning in the next edition of the named reference. ________________________________________________________________________ A.B. van Woerkom, adri@dutncp6.tudelft.nl Delft University of Technology, Faculty of Applied Physics, Department Physics Informatics, section Computational Physics, Lorentzweg 1, 2628 CJ DELFT, The Netherlands ________________________________________________________________________