Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!sdd.hp.com!uakari.primate.wisc.edu!aplcen!boingo.med.jhu.edu!haven.umd.edu!decuac!pa.dec.com!e2big.mko.dec.com!engage!3d.enet.dec.com!davis From: davis@3d.enet.dec.com (Peter Davis) Newsgroups: comp.windows.x Subject: Toolkit or Motif eating "send_event" events? Message-ID: <1991May24.182211.1256@engage.pko.dec.com> Date: 24 May 91 19:18:07 GMT Sender: newsdaemon@engage.pko.dec.com (USENET News Daemon) Organization: Digital Equipment Corporation Lines: 23 I'm trying to write a program which will generate synthetic events and send them to other windows on the display. To test this, I've written a simple version of something like xev, which just reports events that it receives. I've found that: o If I just use XCreateWindow to create a window, I can detect all events on that window, whether they be genuine (ie, "send_event" flag off) or synthetic (ie, "send_event" flag on). However, o If I use XtCreateManagedWidget to create a drawing area widget, and then set event handlers on that, I get "real" events, but not synthetic ones. This leads me to conclude that something in the toolkit, window manager, or somewhere is filtering out events that have the "send_event" flag on. Can anyone verify who is doing this? Is there a way to turn it off? Thanks. -pd