Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!sdd.hp.com!wuarchive!udel!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!ea08+ From: ea08+@andrew.cmu.edu (Eric A. Anderson) Newsgroups: comp.windows.x Subject: Passing events through a window. Message-ID: Date: 30 Nov 90 17:49:49 GMT References: <0bIxtg200VosEPrmId@andrew.cmu.edu> Organization: Carnegie Mellon, Pittsburgh, PA Lines: 23 Since this apparently didn't make it out last time, I'm going to try to send it out again. I apoligize in advance if it actually did make it out. I don't know how many of you have see the programs ?neko, but I am currently running oneko, it puts a cute little cat up on the screen which chases your mouse around. I would like to change the code -- I'd like to make it 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? Just as a point, it's written in pure xlib, and I don't want to add a toolkit on top. -Eric ********************************************************* "My life is full of additional complications spinning around until it makes my head snap off." -Unc. Known. "You are very smart, now shut up." -In "The Princess Bride" *********************************************************