Annotation of researchv9/X11/src/X.V11R1/lib/X/evtomask.c, revision 1.1.1.1

1.1       root        1: /* $Header: evtomask.c,v 1.1 87/09/11 08:08:35 toddb Exp $ */
                      2: #include "X.h"
                      3: /*
                      4:  * This array can be used given an event type to determine the mask bits
                      5:  * that could have generated it.
                      6:  */
                      7: long _event_to_mask [LASTEvent] = {
                      8:        0,                                              /* no event 0 */
                      9:        0,                                              /* no event 1 */
                     10:        KeyPressMask,                                   /* KeyPress */
                     11:        KeyReleaseMask,                                 /* KeyRelease */
                     12:        ButtonPressMask,                                /* ButtonPress */
                     13:        ButtonReleaseMask,                              /* ButtonRelease */
                     14:        PointerMotionMask|PointerMotionHintMask|Button1MotionMask|
                     15:                Button2MotionMask|Button3MotionMask|Button4MotionMask|
                     16:                Button5MotionMask|ButtonMotionMask,     /* MotionNotify */
                     17:        EnterWindowMask,                                /* EnterNotify */
                     18:        LeaveWindowMask,                                /* LeaveNotify */
                     19:        FocusChangeMask,                                /* FocusIn */
                     20:        FocusChangeMask,                                /* FocusOut */
                     21:        KeymapStateMask,                                /* KeymapNotify */
                     22:        ExposureMask,                                   /* Expose */
                     23:        ExposureMask,                                   /* GraphicsExpose */
                     24:        ExposureMask,                                   /* NoExpose */
                     25:        VisibilityChangeMask,                           /* VisibilityNotify */
                     26:        SubstructureNotifyMask,                         /* CreateNotify */
                     27:        StructureNotifyMask|SubstructureNotifyMask,     /* DestroyNotify */
                     28:        StructureNotifyMask|SubstructureNotifyMask,     /* UnmapNotify */
                     29:        StructureNotifyMask|SubstructureNotifyMask,     /* MapNotify */
                     30:        SubstructureRedirectMask,                       /* MapRequest */
                     31:        SubstructureNotifyMask|StructureNotifyMask,     /* ReparentNotify */
                     32:        StructureNotifyMask|SubstructureNotifyMask,     /* ConfigureNotify */
                     33:        SubstructureRedirectMask,                       /* ConfigureRequest */
                     34:        SubstructureNotifyMask|StructureNotifyMask,     /* GravityNotify */
                     35:        ResizeRedirectMask,                             /* ResizeRequest */
                     36:        SubstructureNotifyMask|StructureNotifyMask,     /* CirculateNotify */
                     37:        SubstructureRedirectMask,                       /* CirculateRequest */
                     38:        PropertyChangeMask,                             /* PropertyNotify */
                     39:        0,                                              /* SelectionClear */
                     40:        0,                                              /* SelectionRequest */
                     41:        0,                                              /* SelectionNotify */
                     42:        ColormapChangeMask,                             /* ColormapNotify */
                     43:        0                                               /* InterpretNotify */
                     44: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.