Newsgroups: comp.windows.x Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!mintaka!bloom-beacon!dont-send-mail-to-path-lines From: rws@expo.lcs.mit.EDU (Bob Scheifler) Subject: Re: Xt Intrinsics, extensions, and event handlers Message-ID: <9105301221.AA02909@expire.lcs.mit.edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet References: <1224@mdavcr.UUCP> Date: 30 May 91 12:21:11 GMT Lines: 22 I would like to know if there is any way of providing Xt Event handlers to handle events that come from X extensions. Nope. It's a travesty that this issue has not yet been properly addressed. Shouldn't event types outside the range of the X standard protocol be considered nonmaskable events by Xt? (i.e. those that get assigned to extension events) No, I don't think so, lumping everything together is rather undesirable. There's no particularly good reason why my selection event handlers should be inundated with input device extension motion notify events, for example. The nonmaskable approach is flawed to begin with; I think a better approach is to think about associating handlers with specific event type codes. But there are a number of issues to consider to do things "right". Since this appears not to be the case is there any possibility that this will change with X11.R5? It's not likely that your approach will be adopted. There is some slim chance that some kind of support, perhaps only experimental in nature, might work its way into R5.