Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: mouse@lightning.mcrcim.mcgill.EDU (der Mouse) Newsgroups: comp.windows.x Subject: Re: subwindows wanting to know top ancestor info. Message-ID: <9106150953.AA25739@lightning.McRCIM.McGill.EDU> Date: 15 Jun 91 09:53:09 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 11 > If you know the window ID, XGetGeometry will give you the width and > height. If you don't know the window ID, XQueryTree will give you a > list of ancestors. Well, repeated calls to XQueryTree will; XQueryTree directly gives only the parent. (A nit, I know :-) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu