Path: utzoo!attcan!uunet!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ames!think!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: Convert event type to mask Message-ID: <8907051727.AA09082@expire.lcs.mit.edu> Date: 5 Jul 89 17:27:36 GMT References: <3331@ncsuvx.ncsu.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 6 Is there a routine that will convert an event id (such as KeyPress or KeyRelease) to an event mask (KeyPressMask or KeyReleaseMask)? There is an internal array (_event_to_mask in evtomask.c) in the MIT Xlib implementation for this, but no external interface to it is defined in Xlib.