smgf@cl.cam.ac.uk (Steve Freeman) (05/02/90)
Dumb question of the week, but I've been staring at this and can't see the solution any more... Environment: DECstation 2100, Ultrix, X11R4 (up to fix-1), Athena Widgets I'm trying to send an XEvent to establish communications between a process and an X client. Using the xtalk example from the Young book I added an event handler to the client. XtAddEventHandler( simpleWgt, NoEventMask, True, EventHandlerProc, NULL ); And put the following line in the calling process:- XSendEvent( dpy, win, True, XtAllEvents, &msgEvent ); Where the dpy and win are those of the simpleWgt (I've been putting in trace statements to check that they're correct). The XSendEvent goes through without complaining, but the event handler is never called. Any hints or bright ideas (or dumb ones)? Many thanks. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Steve Freeman, Computer Lab, University of Cambridge, UK smgf@uk.ac.cam.cl - or - smgf%uk.ac.cam.cl@uk.ac.nsf "For every problem there is a solution which is simple and elegant, and wrong" (Mark Twain(?))