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: fgreco@govt.shearson.COM (Frank Greco) Newsgroups: comp.windows.x Subject: Re: How do I get ID of the window that contains the pointer ? Message-ID: <9104121330.AA00164@fis1.shearson.com> Date: 12 Apr 91 13:30:22 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 16 > How do I get ID of the window that holds the pointer ? > > In most cases this window would belong to other application. > Which rules out XQueryPointer() ( NO, I don't have any destructive > thoughts in my mind ). Why does this rule out XQueryPointer()? It should do exactly what you want: gets the ID of the window under the pointer. Unless you mean something else by "holds the pointer" that I'm missing. > Any pointers ?? Yes, usually one.... ;-> Frank G.