Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: gildea@expo.lcs.mit.EDU (Stephen Gildea) Newsgroups: comp.windows.x Subject: Re: XQueryTree call illegal on RootWindow ? Message-ID: <9104121409.AA15617@expo.lcs.mit.edu> Date: 12 Apr 91 14:09:54 GMT References: <1095@creatures.cs.vt.edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: X Consortium, MIT Laboratory for Computer Science Lines: 15 Date: 12 Apr 91 02:39:52 GMT From: ramakris@bloss.cs.vt.edu (S Ramakrishnan) Is it illegal to XQueryTree on the root window ? ... No, it is perfectly legal. In fact, "xwininfo -root -tree" does it. However, your sample program declares two variables with the same name, "children". This is more likely to be your problem. < Stephen MIT X Consortium