Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!apple!bionet!arisia!roo!janssen From: janssen@parc.xerox.com (Bill Janssen) Newsgroups: comp.windows.x Subject: Re: Passing events through a window. Message-ID: Date: 3 Dec 90 04:49:00 GMT References: <9012010726.AA03075@Larry.McRCIM.McGill.EDU> Sender: news@parc.xerox.com Organization: Xerox PARC, Palo Alto, CA Lines: 20 In-reply-to: mouse@LARRY.MCRCIM.MCGILL.EDU's message of 1 Dec 90 07:26:04 GMT In article <9012010726.AA03075@Larry.McRCIM.McGill.EDU> mouse@LARRY.MCRCIM.MCGILL.EDU writes: > I would like to change the code -- It's put xlib so that events which > occur in the cat window are passed directly through to whatever > window is directly underneath the cat window. Currently mouse clicks > act as though they are root windows clicks and keys just disappear. > Any suggestions on how this could be done? [...] What you want is an OutputOnly window. No such beastie exists. Or your code could inspect the window hierarchy, find out what window is "below" the cat window, and send a synthetic mouse event to it... Bill -- Bill Janssen janssen@parc.xerox.com (415) 494-4763 Xerox Palo Alto Research Center 3333 Coyote Hill Road, Palo Alto, California 94304