DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: X

⟦d02755810⟧

    Length: 5703 (0x1647)
    Names: »XMapEvent.3X«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat3/XMapEvent.3X« 

Default Hex Dump

0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f   ┆   _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆
0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74   ┆ u_ a_ l           Library Funct┆
0x0040…0060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 58 4d 61 70 45 76 65 6e 74 28 33 58 29 0a 0a 0a 0a   ┆ions           XMapEvent(3X)    ┆
0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20   ┆N N N NA A A AM M M ME E E E    ┆
0x0080…00a0 20 20 58 4d 61 70 45 76 65 6e 74 2c 20 58 4d 61 70 70 69 6e 67 45 76 65 6e 74 20 2d 20 4d 61 70   ┆  XMapEvent, XMappingEvent - Map┆
0x00a0…00c0 4e 6f 74 69 66 79 20 61 6e 64 20 4d 61 70 70 69 6e 67 4e 6f 74 69 66 79 20 65 76 65 6e 74 0a 20   ┆Notify and MappingNotify event  ┆
0x00c0…00e0 20 20 20 20 73 74 72 75 63 74 75 72 65 73 0a 0a 53 08 53 08 53 08 53 54 08 54 08 54 08 54 52 08   ┆    structures  S S S ST T T TR ┆
0x00e0…0100 52 08 52 08 52 55 08 55 08 55 08 55 43 08 43 08 43 08 43 54 08 54 08 54 08 54 55 08 55 08 55 08   ┆R R RU U U UC C C CT T T TU U U ┆
0x0100…0120 55 52 08 52 08 52 08 52 45 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 20 20 20 54 68 65 20   ┆UR R R RE E E ES S S S      The ┆
0x0120…0140 73 74 72 75 63 74 75 72 65 20 66 6f 72 20 5f 08 4d 5f 08 61 5f 08 70 5f 08 4e 5f 08 6f 5f 08 74   ┆structure for _ M_ a_ p_ N_ o_ t┆
0x0140…0160 5f 08 69 5f 08 66 5f 08 79 20 65 76 65 6e 74 73 20 63 6f 6e 74 61 69 6e 73 3a 0a 0a 20 20 20 20   ┆_ i_ f_ y events contains:      ┆
0x0160…0180 20 74 79 70 65 64 65 66 20 73 74 72 75 63 74 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74 20   ┆ typedef struct {           int ┆
0x0180…01a0 74 79 70 65 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 4d 61 70 4e 6f 74 69 66   ┆type;                /* MapNotif┆
0x01a0…01c0 79 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 75 6e 73 69 67 6e 65 64 20 6c 6f 6e 67 20 73 65 72   ┆y */           unsigned long ser┆
0x01c0…01e0 69 61 6c 3b 20 20 20 20 2f 2a 20 23 20 6f 66 20 6c 61 73 74 20 72 65 71 75 65 73 74 20 70 72 6f   ┆ial;    /* # of last request pro┆
0x01e0…0200 63 65 73 73 65 64 20 62 79 20 73 65 72 76 65 72 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 42 6f   ┆cessed by server */           Bo┆
0x0200…0220 6f 6c 20 73 65 6e 64 5f 65 76 65 6e 74 3b 20 20 20 20 20 20 20 20 20 2f 2a 20 74 72 75 65 20 69   ┆ol send_event;         /* true i┆
0x0220…0240 66 20 74 68 69 73 20 63 61 6d 65 20 66 72 6f 6d 20 61 20 53 65 6e 64 45 76 65 6e 74 20 72 65 71   ┆f this came from a SendEvent req┆
0x0240…0260 75 65 73 74 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 44 69 73 70 6c 61 79 20 2a 64 69 73 70 6c   ┆uest */           Display *displ┆
0x0260…0280 61 79 3b 20 20 20 20 20 20 20 20 2f 2a 20 44 69 73 70 6c 61 79 20 74 68 65 20 65 76 65 6e 74 20   ┆ay;        /* Display the event ┆
0x0280…02a0 77 61 73 20 72 65 61 64 20 66 72 6f 6d 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 57 69 6e 64 6f   ┆was read from */           Windo┆
0x02a0…02c0 77 20 65 76 65 6e 74 3b 0a 20 20 20 20 20 20 20 20 20 20 57 69 6e 64 6f 77 20 77 69 6e 64 6f 77   ┆w event;           Window window┆
0x02c0…02e0 3b 0a 20 20 20 20 20 20 20 20 20 20 42 6f 6f 6c 20 6f 76 65 72 72 69 64 65 5f 72 65 64 69 72 65   ┆;           Bool override_redire┆
0x02e0…0300 63 74 3b 20 20 2f 2a 20 62 6f 6f 6c 65 61 6e 2c 20 69 73 20 6f 76 65 72 72 69 64 65 20 73 65 74   ┆ct;  /* boolean, is override set┆
0x0300…0320 2e 2e 2e 20 2a 2f 0a 20 20 20 20 20 7d 20 58 4d 61 70 45 76 65 6e 74 3b 0a 0a 20 20 20 20 20 57   ┆... */      } XMapEvent;       W┆
0x0320…0340 68 65 6e 20 79 6f 75 20 72 65 63 65 69 76 65 20 74 68 69 73 20 65 76 65 6e 74 2c 20 74 68 65 20   ┆hen you receive this event, the ┆
0x0340…0360 73 74 72 75 63 74 75 72 65 20 6d 65 6d 62 65 72 73 20 61 72 65 20 73 65 74 0a 20 20 20 20 20 61   ┆structure members are set      a┆
0x0360…0380 73 20 66 6f 6c 6c 6f 77 73 2e 0a 0a 20 20 20 20 20 54 68 65 20 74 79 70 65 20 6d 65 6d 62 65 72   ┆s follows.       The type member┆
0x0380…03a0 20 69 73 20 73 65 74 20 74 6f 20 74 68 65 20 65 76 65 6e 74 20 74 79 70 65 20 63 6f 6e 73 74 61   ┆ is set to the event type consta┆
0x03a0…03c0 6e 74 20 6e 61 6d 65 20 74 68 61 74 0a 20 20 20 20 20 75 6e 69 71 75 65 6c 79 20 69 64 65 6e 74   ┆nt name that      uniquely ident┆
0x03c0…03e0 69 66 69 65 73 20 69 74 2e 20 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 77 68 65 6e 20 74 68 65   ┆ifies it.  For example, when the┆
0x03e0…0400 20 58 20 73 65 72 76 65 72 0a 20 20 20 20 20 72 65 70 6f 72 74 73 20 61 20 5f 08 47 5f 08 72 5f   ┆ X server      reports a _ G_ r_┆
0x0400…0420 08 61 5f 08 70 5f 08 68 5f 08 69 5f 08 63 5f 08 73 5f 08 45 5f 08 78 5f 08 70 5f 08 6f 5f 08 73   ┆ a_ p_ h_ i_ c_ s_ E_ x_ p_ o_ s┆
0x0420…0440 5f 08 65 20 65 76 65 6e 74 20 74 6f 20 61 20 63 6c 69 65 6e 74 20 61 70 70 6c 69 63 61 74 69 6f   ┆_ e event to a client applicatio┆
0x0440…0460 6e 2c 20 69 74 0a 20 20 20 20 20 73 65 6e 64 73 20 61 6e 20 5f 08 58 5f 08 47 5f 08 72 5f 08 61   ┆n, it      sends an _ X_ G_ r_ a┆
0x0460…0480 5f 08 70 5f 08 68 5f 08 69 5f 08 63 5f 08 73 5f 08 45 5f 08 78 5f 08 70 5f 08 6f 5f 08 73 5f 08   ┆_ p_ h_ i_ c_ s_ E_ x_ p_ o_ s_ ┆
0x0480…04a0 65 5f 08 45 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 20 73 74 72 75 63 74 75 72 65 20 77 69 74 68 20   ┆e_ E_ v_ e_ n_ t structure with ┆
0x04a0…04c0 74 68 65 20 74 79 70 65 20 6d 65 6d 62 65 72 0a 20 20 20 20 20 73 65 74 20 74 6f 20 5f 08 47 5f   ┆the type member      set to _ G_┆
0x04c0…04e0 08 72 5f 08 61 5f 08 70 5f 08 68 5f 08 69 5f 08 63 5f 08 73 5f 08 45 5f 08 78 5f 08 70 5f 08 6f   ┆ r_ a_ p_ h_ i_ c_ s_ E_ x_ p_ o┆
0x04e0…0500 5f 08 73 5f 08 65 2e 20 20 54 68 65 20 64 69 73 70 6c 61 79 20 6d 65 6d 62 65 72 20 69 73 20 73   ┆_ s_ e.  The display member is s┆
0x0500…0520 65 74 20 74 6f 20 61 0a 20 20 20 20 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 65 20 64 69 73 70   ┆et to a      pointer to the disp┆
0x0520…0540 6c 61 79 20 74 68 65 20 65 76 65 6e 74 20 77 61 73 20 72 65 61 64 20 6f 6e 2e 20 20 54 68 65 0a   ┆lay the event was read on.  The ┆
0x0540…0560 20 20 20 20 20 73 65 6e 64 5f 65 76 65 6e 74 20 6d 65 6d 62 65 72 20 69 73 20 73 65 74 20 74 6f   ┆     send_event member is set to┆
0x0560…0580 20 5f 08 54 5f 08 72 5f 08 75 5f 08 65 20 69 66 20 74 68 65 20 65 76 65 6e 74 20 63 61 6d 65 20   ┆ _ T_ r_ u_ e if the event came ┆
0x0580…05a0 66 72 6f 6d 20 61 0a 20 20 20 20 20 5f 08 53 5f 08 65 5f 08 6e 5f 08 64 5f 08 45 5f 08 76 5f 08   ┆from a      _ S_ e_ n_ d_ E_ v_ ┆
0x05a0…05c0 65 5f 08 6e 5f 08 74 20 70 72 6f 74 6f 63 6f 6c 20 72 65 71 75 65 73 74 2e 20 20 54 68 65 20 73   ┆e_ n_ t protocol request.  The s┆
0x05c0…05e0 65 72 69 61 6c 20 6d 65 6d 62 65 72 20 69 73 20 73 65 74 20 66 72 6f 6d 0a 20 20 20 20 20 74 68   ┆erial member is set from      th┆
0x05e0…0600 65 20 73 65 72 69 61 6c 20 6e 75 6d 62 65 72 20 72 65 70 6f 72 74 65 64 20 69 6e 20 74 68 65 20   ┆e serial number reported in the ┆
0x0600…0620 70 72 6f 74 6f 63 6f 6c 20 62 75 74 20 65 78 70 61 6e 64 65 64 20 66 72 6f 6d 0a 20 20 20 20 20   ┆protocol but expanded from      ┆
0x0620…0640 74 68 65 20 31 36 2d 62 69 74 20 6c 65 61 73 74 2d 73 69 67 6e 69 66 69 63 61 6e 74 20 62 69 74   ┆the 16-bit least-significant bit┆
0x0640…0660 73 20 74 6f 20 61 20 66 75 6c 6c 20 33 32 2d 62 69 74 20 76 61 6c 75 65 2e 0a 20 20 20 20 20 54   ┆s to a full 32-bit value.      T┆
0x0660…0680 68 65 20 77 69 6e 64 6f 77 20 6d 65 6d 62 65 72 20 69 73 20 73 65 74 20 74 6f 20 74 68 65 20 77   ┆he window member is set to the w┆
0x0680…06a0 69 6e 64 6f 77 20 74 68 61 74 20 69 73 20 6d 6f 73 74 20 75 73 65 66 75 6c 0a 20 20 20 20 20 74   ┆indow that is most useful      t┆
0x06a0…06c0 6f 20 74 6f 6f 6c 6b 69 74 20 64 69 73 70 61 74 63 68 65 72 73 2e 0a 0a 20 20 20 20 20 54 68 65   ┆o toolkit dispatchers.       The┆
0x06c0…06e0 20 65 76 65 6e 74 20 6d 65 6d 62 65 72 20 69 73 20 73 65 74 20 65 69 74 68 65 72 20 74 6f 20 74   ┆ event member is set either to t┆
0x06e0…0700 68 65 20 77 69 6e 64 6f 77 20 74 68 61 74 20 77 61 73 20 6d 61 70 70 65 64 0a 20 20 20 20 20 6f   ┆he window that was mapped      o┆
0x0700…0720 72 20 74 6f 20 69 74 73 20 70 61 72 65 6e 74 2c 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 77 68   ┆r to its parent, depending on wh┆
0x0720…0740 65 74 68 65 72 20 5f 08 53 5f 08 74 5f 08 72 5f 08 75 5f 08 63 5f 08 74 5f 08 75 5f 08 72 5f 08   ┆ether _ S_ t_ r_ u_ c_ t_ u_ r_ ┆
0x0740…0760 65 5f 08 4e 5f 08 6f 5f 08 74 5f 08 69 5f 08 66 5f 08 79 20 6f 72 0a 20 20 20 20 20 5f 08 53 5f   ┆e_ N_ o_ t_ i_ f_ y or      _ S_┆
0x0760…0780 08 75 5f 08 62 5f 08 73 5f 08 74 5f 08 72 5f 08 75 5f 08 63 5f 08 74 5f 08 75 5f 08 72 5f 08 65   ┆ u_ b_ s_ t_ r_ u_ c_ t_ u_ r_ e┆
0x0780…07a0 5f 08 4e 5f 08 6f 5f 08 74 5f 08 69 5f 08 66 5f 08 79 20 77 61 73 20 73 65 6c 65 63 74 65 64 2e   ┆_ N_ o_ t_ i_ f_ y was selected.┆
0x07a0…07c0 20 20 54 68 65 20 77 69 6e 64 6f 77 20 6d 65 6d 62 65 72 20 69 73 20 73 65 74 0a 20 20 20 20 20   ┆  The window member is set      ┆
0x07c0…07e0 74 6f 20 74 68 65 20 77 69 6e 64 6f 77 20 74 68 61 74 20 77 61 73 20 6d 61 70 70 65 64 2e 20 20   ┆to the window that was mapped.  ┆
0x07e0…0800 54 68 65 20 6f 76 65 72 72 69 64 65 5f 72 65 64 69 72 65 63 74 20 6d 65 6d 62 65 72 0a 20 20 20   ┆The override_redirect member    ┆
0x0800…0820 20 20 69 73 20 73 65 74 20 74 6f 20 74 68 65 20 6f 76 65 72 72 69 64 65 2d 72 65 64 69 72 65 63   ┆  is set to the override-redirec┆
0x0820…0840 74 20 61 74 74 72 69 62 75 74 65 20 6f 66 20 74 68 65 20 77 69 6e 64 6f 77 2e 0a 20 20 20 20 20   ┆t attribute of the window.      ┆
0x0840…0860 57 69 6e 64 6f 77 20 6d 61 6e 61 67 65 72 20 63 6c 69 65 6e 74 73 20 6e 6f 72 6d 61 6c 6c 79 20   ┆Window manager clients normally ┆
0x0860…0880 73 68 6f 75 6c 64 20 69 67 6e 6f 72 65 20 74 68 69 73 20 77 69 6e 64 6f 77 20 69 66 0a 20 20 20   ┆should ignore this window if    ┆
0x0880…08a0 20 20 74 68 65 20 6f 76 65 72 72 69 64 65 2d 72 65 64 69 72 65 63 74 20 61 74 74 72 69 62 75 74   ┆  the override-redirect attribut┆
0x08a0…08c0 65 20 69 73 20 5f 08 54 5f 08 72 5f 08 75 5f 08 65 2c 20 62 65 63 61 75 73 65 20 74 68 65 73 65   ┆e is _ T_ r_ u_ e, because these┆
0x08c0…08e0 0a 20 20 20 20 20 65 76 65 6e 74 73 20 75 73 75 61 6c 6c 79 20 61 72 65 20 67 65 6e 65 72 61 74   ┆      events usually are generat┆
0x08e0…0900 65 64 20 66 72 6f 6d 20 70 6f 70 2d 75 70 73 2c 20 77 68 69 63 68 20 6f 76 65 72 72 69 64 65 0a   ┆ed from pop-ups, which override ┆
0x0900…0920 20 20 20 20 20 73 74 72 75 63 74 75 72 65 20 63 6f 6e 74 72 6f 6c 2e 0a 0a 20 20 20 20 20 54 68   ┆     structure control.       Th┆
0x0920…0940 65 20 73 74 72 75 63 74 75 72 65 20 66 6f 72 20 5f 08 4d 5f 08 61 5f 08 70 5f 08 70 5f 08 69 5f   ┆e structure for _ M_ a_ p_ p_ i_┆
0x0940…0960 08 6e 5f 08 67 5f 08 4e 5f 08 6f 5f 08 74 5f 08 69 5f 08 66 5f 08 79 20 65 76 65 6e 74 73 20 69   ┆ n_ g_ N_ o_ t_ i_ f_ y events i┆
0x0960…0980 73 3a 0a 0a 20 20 20 20 20 74 79 70 65 64 65 66 20 73 74 72 75 63 74 20 7b 0a 20 20 20 20 20 20   ┆s:       typedef struct {       ┆
0x0980…09a0 20 20 20 20 69 6e 74 20 74 79 70 65 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20   ┆    int type;                /* ┆
0x09a0…09c0 4d 61 70 70 69 6e 67 4e 6f 74 69 66 79 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 75 6e 73 69 67   ┆MappingNotify */           unsig┆
0x09c0…09e0 6e 65 64 20 6c 6f 6e 67 20 73 65 72 69 61 6c 3b 20 20 20 20 2f 2a 20 23 20 6f 66 20 6c 61 73 74   ┆ned long serial;    /* # of last┆
0x09e0…0a00 20 72 65 71 75 65 73 74 20 70 72 6f 63 65 73 73 65 64 20 62 79 20 73 65 72 76 65 72 20 2a 2f 0a   ┆ request processed by server */ ┆
0x0a00…0a20 20 20 20 20 20 20 20 20 20 20 42 6f 6f 6c 20 73 65 6e 64 5f 65 76 65 6e 74 3b 20 20 20 20 20 20   ┆          Bool send_event;      ┆
0x0a20…0a40 20 20 20 2f 2a 20 74 72 75 65 20 69 66 20 74 68 69 73 20 63 61 6d 65 20 66 72 6f 6d 20 61 20 53   ┆   /* true if this came from a S┆
0x0a40…0a60 65 6e 64 45 76 65 6e 74 20 72 65 71 75 65 73 74 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 44 69   ┆endEvent request */           Di┆
0x0a60…0a80 73 70 6c 61 79 20 2a 64 69 73 70 6c 61 79 3b 20 20 20 20 20 20 20 20 2f 2a 20 44 69 73 70 6c 61   ┆splay *display;        /* Displa┆
0x0a80…0aa0 79 20 74 68 65 20 65 76 65 6e 74 20 77 61 73 20 72 65 61 64 20 66 72 6f 6d 20 2a 2f 0a 20 20 20   ┆y the event was read from */    ┆
0x0aa0…0ac0 20 20 20 20 20 20 20 57 69 6e 64 6f 77 20 77 69 6e 64 6f 77 3b 20 20 20 20 20 20 20 20 20 20 20   ┆       Window window;           ┆
0x0ac0…0ae0 2f 2a 20 75 6e 75 73 65 64 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 72 65 71 75 65   ┆/* unused */           int reque┆
0x0ae0…0b00 73 74 3b 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 6f 6e 65 20 6f 66 20 4d 61 70 70 69 6e   ┆st;             /* one of Mappin┆
0x0b00…0b20 67 4d 6f 64 69 66 69 65 72 2c 20 4d 61 70 70 69 6e 67 4b 65 79 62 6f 61 72 64 2c 0a 20 20 20 20   ┆gModifier, MappingKeyboard,     ┆
0x0b20…0b40 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆                                ┆
0x0b40…0b60 20 20 4d 61 70 70 69 6e 67 50 6f 69 6e 74 65 72 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 69 6e   ┆  MappingPointer */           in┆
0x0b60…0b80 74 20 66 69 72 73 74 5f 6b 65 79 63 6f 64 65 3b 20 20 20 20 20 20 20 2f 2a 20 66 69 72 73 74 20   ┆t first_keycode;       /* first ┆
0x0b80…0ba0 6b 65 79 63 6f 64 65 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 63 6f 75 6e 74 3b 20   ┆keycode */           int count; ┆
0x0ba0…0bc0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2f 2a 20 64 65 66 69 6e 65 73 20 72 61 6e 67 65 20 6f   ┆              /* defines range o┆
0x0bc0…0be0 66 20 63 68 61 6e 67 65 20 77 2e 20 66 69 72 73 74 5f 6b 65 79 63 6f 64 65 2a 2f 0a 20 20 20 20   ┆f change w. first_keycode*/     ┆
0x0be0…0c00 20 7d 20 58 4d 61 70 70 69 6e 67 45 76 65 6e 74 3b 0a 0a 20 20 20 20 20 57 68 65 6e 20 79 6f 75   ┆ } XMappingEvent;       When you┆
0x0c00…0c20 20 72 65 63 65 69 76 65 20 74 68 69 73 20 65 76 65 6e 74 2c 20 74 68 65 20 73 74 72 75 63 74 75   ┆ receive this event, the structu┆
0x0c20…0c40 72 65 20 6d 65 6d 62 65 72 73 20 61 72 65 20 73 65 74 0a 20 20 20 20 20 61 73 20 66 6f 6c 6c 6f   ┆re members are set      as follo┆
0x0c40…0c60 77 73 2e 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 54 68 65 20 74 79 70 65 20 6d 65 6d 62 65 72 20 69   ┆ws.            The type member i┆
0x0c60…0c80 73 20 73 65 74 20 74 6f 20 74 68 65 20 65 76 65 6e 74 20 74 79 70 65 20 63 6f 6e 73 74 61 6e 74   ┆s set to the event type constant┆
0x0c80…0ca0 20 6e 61 6d 65 20 74 68 61 74 0a 20 20 20 20 20 75 6e 69 71 75 65 6c 79 20 69 64 65 6e 74 69 66   ┆ name that      uniquely identif┆
0x0ca0…0cc0 69 65 73 20 69 74 2e 20 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 77 68 65 6e 20 74 68 65 20 58   ┆ies it.  For example, when the X┆
0x0cc0…0ce0 20 73 65 72 76 65 72 0a 20 20 20 20 20 72 65 70 6f 72 74 73 20 61 20 5f 08 47 5f 08 72 5f 08 61   ┆ server      reports a _ G_ r_ a┆
0x0ce0…0d00 5f 08 70 5f 08 68 5f 08 69 5f 08 63 5f 08 73 5f 08 45 5f 08 78 5f 08 70 5f 08 6f 5f 08 73 5f 08   ┆_ p_ h_ i_ c_ s_ E_ x_ p_ o_ s_ ┆
0x0d00…0d20 65 20 65 76 65 6e 74 20 74 6f 20 61 20 63 6c 69 65 6e 74 20 61 70 70 6c 69 63 61 74 69 6f 6e 2c   ┆e event to a client application,┆
0x0d20…0d40 20 69 74 0a 20 20 20 20 20 73 65 6e 64 73 20 61 6e 20 5f 08 58 5f 08 47 5f 08 72 5f 08 61 5f 08   ┆ it      sends an _ X_ G_ r_ a_ ┆
0x0d40…0d60 70 5f 08 68 5f 08 69 5f 08 63 5f 08 73 5f 08 45 5f 08 78 5f 08 70 5f 08 6f 5f 08 73 5f 08 65 5f   ┆p_ h_ i_ c_ s_ E_ x_ p_ o_ s_ e_┆
0x0d60…0d80 08 45 5f 08 76 5f 08 65 5f 08 6e 5f 08 74 20 73 74 72 75 63 74 75 72 65 20 77 69 74 68 20 74 68   ┆ E_ v_ e_ n_ t structure with th┆
0x0d80…0da0 65 20 74 79 70 65 20 6d 65 6d 62 65 72 0a 20 20 20 20 20 73 65 74 20 74 6f 20 5f 08 47 5f 08 72   ┆e type member      set to _ G_ r┆
0x0da0…0dc0 5f 08 61 5f 08 70 5f 08 68 5f 08 69 5f 08 63 5f 08 73 5f 08 45 5f 08 78 5f 08 70 5f 08 6f 5f 08   ┆_ a_ p_ h_ i_ c_ s_ E_ x_ p_ o_ ┆
0x0dc0…0de0 73 5f 08 65 2e 20 20 54 68 65 20 64 69 73 70 6c 61 79 20 6d 65 6d 62 65 72 20 69 73 20 73 65 74   ┆s_ e.  The display member is set┆
0x0de0…0e00 20 74 6f 20 61 0a 20 20 20 20 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 65 20 64 69 73 70 6c 61   ┆ to a      pointer to the displa┆
0x0e00…0e20 79 20 74 68 65 20 65 76 65 6e 74 20 77 61 73 20 72 65 61 64 20 6f 6e 2e 20 20 54 68 65 0a 20 20   ┆y the event was read on.  The   ┆
0x0e20…0e40 20 20 20 73 65 6e 64 5f 65 76 65 6e 74 20 6d 65 6d 62 65 72 20 69 73 20 73 65 74 20 74 6f 20 5f   ┆   send_event member is set to _┆
0x0e40…0e60 08 54 5f 08 72 5f 08 75 5f 08 65 20 69 66 20 74 68 65 20 65 76 65 6e 74 20 63 61 6d 65 20 66 72   ┆ T_ r_ u_ e if the event came fr┆
0x0e60…0e80 6f 6d 20 61 0a 20 20 20 20 20 5f 08 53 5f 08 65 5f 08 6e 5f 08 64 5f 08 45 5f 08 76 5f 08 65 5f   ┆om a      _ S_ e_ n_ d_ E_ v_ e_┆
0x0e80…0ea0 08 6e 5f 08 74 20 70 72 6f 74 6f 63 6f 6c 20 72 65 71 75 65 73 74 2e 20 20 54 68 65 20 73 65 72   ┆ n_ t protocol request.  The ser┆
0x0ea0…0ec0 69 61 6c 20 6d 65 6d 62 65 72 20 69 73 20 73 65 74 20 66 72 6f 6d 0a 20 20 20 20 20 74 68 65 20   ┆ial member is set from      the ┆
0x0ec0…0ee0 73 65 72 69 61 6c 20 6e 75 6d 62 65 72 20 72 65 70 6f 72 74 65 64 20 69 6e 20 74 68 65 20 70 72   ┆serial number reported in the pr┆
0x0ee0…0f00 6f 74 6f 63 6f 6c 20 62 75 74 20 65 78 70 61 6e 64 65 64 20 66 72 6f 6d 0a 20 20 20 20 20 74 68   ┆otocol but expanded from      th┆
0x0f00…0f20 65 20 31 36 2d 62 69 74 20 6c 65 61 73 74 2d 73 69 67 6e 69 66 69 63 61 6e 74 20 62 69 74 73 20   ┆e 16-bit least-significant bits ┆
0x0f20…0f40 74 6f 20 61 20 66 75 6c 6c 20 33 32 2d 62 69 74 20 76 61 6c 75 65 2e 0a 20 20 20 20 20 54 68 65   ┆to a full 32-bit value.      The┆
0x0f40…0f60 20 77 69 6e 64 6f 77 20 6d 65 6d 62 65 72 20 69 73 20 73 65 74 20 74 6f 20 74 68 65 20 77 69 6e   ┆ window member is set to the win┆
0x0f60…0f80 64 6f 77 20 74 68 61 74 20 69 73 20 6d 6f 73 74 20 75 73 65 66 75 6c 0a 20 20 20 20 20 74 6f 20   ┆dow that is most useful      to ┆
0x0f80…0fa0 74 6f 6f 6c 6b 69 74 20 64 69 73 70 61 74 63 68 65 72 73 2e 0a 0a 20 20 20 20 20 54 68 65 20 72   ┆toolkit dispatchers.       The r┆
0x0fa0…0fc0 65 71 75 65 73 74 20 6d 65 6d 62 65 72 20 69 73 20 73 65 74 20 74 6f 20 69 6e 64 69 63 61 74 65   ┆equest member is set to indicate┆
0x0fc0…0fe0 20 74 68 65 20 6b 69 6e 64 20 6f 66 20 6d 61 70 70 69 6e 67 0a 20 20 20 20 20 63 68 61 6e 67 65   ┆ the kind of mapping      change┆
0x0fe0…1000 20 74 68 61 74 20 6f 63 63 75 72 72 65 64 20 61 6e 64 20 63 61 6e 20 62 65 20 5f 08 4d 5f 08 61   ┆ that occurred and can be _ M_ a┆
0x1000…1020 5f 08 70 5f 08 70 5f 08 69 5f 08 6e 5f 08 67 5f 08 4d 5f 08 6f 5f 08 64 5f 08 69 5f 08 66 5f 08   ┆_ p_ p_ i_ n_ g_ M_ o_ d_ i_ f_ ┆
0x1020…1040 69 5f 08 65 5f 08 72 2c 20 5f 08 4d 5f 08 61 5f 08 70 5f 08 70 5f 08 69 5f 08 6e 5f 08 67 5f 08   ┆i_ e_ r, _ M_ a_ p_ p_ i_ n_ g_ ┆
0x1040…1060 4b 5f 08 65 5f 08 79 5f 08 2d 0a 20 20 20 20 20 5f 08 62 5f 08 6f 5f 08 61 5f 08 72 5f 08 64 2c   ┆K_ e_ y_ -      _ b_ o_ a_ r_ d,┆
0x1060…1080 20 5f 08 4d 5f 08 61 5f 08 70 5f 08 70 5f 08 69 5f 08 6e 5f 08 67 5f 08 50 5f 08 6f 5f 08 69 5f   ┆ _ M_ a_ p_ p_ i_ n_ g_ P_ o_ i_┆
0x1080…10a0 08 6e 5f 08 74 5f 08 65 5f 08 72 2e 20 20 49 66 20 69 74 20 69 73 20 5f 08 4d 5f 08 61 5f 08 70   ┆ n_ t_ e_ r.  If it is _ M_ a_ p┆
0x10a0…10c0 5f 08 70 5f 08 69 5f 08 6e 5f 08 67 5f 08 4d 5f 08 6f 5f 08 64 5f 08 69 5f 08 66 5f 08 69 5f 08   ┆_ p_ i_ n_ g_ M_ o_ d_ i_ f_ i_ ┆
0x10c0…10e0 65 5f 08 72 2c 20 74 68 65 20 6d 6f 64 69 66 2d 0a 20 20 20 20 20 69 65 72 20 6d 61 70 70 69 6e   ┆e_ r, the modif-      ier mappin┆
0x10e0…1100 67 20 77 61 73 20 63 68 61 6e 67 65 64 2e 20 20 49 66 20 69 74 20 69 73 20 5f 08 4d 5f 08 61 5f   ┆g was changed.  If it is _ M_ a_┆
0x1100…1120 08 70 5f 08 70 5f 08 69 5f 08 6e 5f 08 67 5f 08 4b 5f 08 65 5f 08 79 5f 08 62 5f 08 6f 5f 08 61   ┆ p_ p_ i_ n_ g_ K_ e_ y_ b_ o_ a┆
0x1120…1140 5f 08 72 5f 08 64 2c 20 74 68 65 20 6b 65 79 2d 0a 20 20 20 20 20 62 6f 61 72 64 20 6d 61 70 70   ┆_ r_ d, the key-      board mapp┆
0x1140…1160 69 6e 67 20 77 61 73 20 63 68 61 6e 67 65 64 2e 20 20 49 66 20 69 74 20 69 73 20 5f 08 4d 5f 08   ┆ing was changed.  If it is _ M_ ┆
0x1160…1180 61 5f 08 70 5f 08 70 5f 08 69 5f 08 6e 5f 08 67 5f 08 50 5f 08 6f 5f 08 69 5f 08 6e 5f 08 74 5f   ┆a_ p_ p_ i_ n_ g_ P_ o_ i_ n_ t_┆
0x1180…11a0 08 65 5f 08 72 2c 20 74 68 65 0a 20 20 20 20 20 70 6f 69 6e 74 65 72 20 62 75 74 74 6f 6e 20 6d   ┆ e_ r, the      pointer button m┆
0x11a0…11c0 61 70 70 69 6e 67 20 77 61 73 20 63 68 61 6e 67 65 64 2e 20 54 68 65 20 66 69 72 73 74 5f 6b 65   ┆apping was changed. The first_ke┆
0x11c0…11e0 79 63 6f 64 65 20 61 6e 64 0a 20 20 20 20 20 63 6f 75 6e 74 20 6d 65 6d 62 65 72 73 20 61 72 65   ┆ycode and      count members are┆
0x11e0…1200 20 73 65 74 20 6f 6e 6c 79 20 69 66 20 74 68 65 20 72 65 71 75 65 73 74 20 6d 65 6d 62 65 72 20   ┆ set only if the request member ┆
0x1200…1220 77 61 73 20 73 65 74 20 74 6f 0a 20 20 20 20 20 5f 08 4d 5f 08 61 5f 08 70 5f 08 70 5f 08 69 5f   ┆was set to      _ M_ a_ p_ p_ i_┆
0x1220…1240 08 6e 5f 08 67 5f 08 4b 5f 08 65 5f 08 79 5f 08 62 5f 08 6f 5f 08 61 5f 08 72 5f 08 64 2e 20 20   ┆ n_ g_ K_ e_ y_ b_ o_ a_ r_ d.  ┆
0x1240…1260 54 68 65 20 6e 75 6d 62 65 72 20 69 6e 20 66 69 72 73 74 5f 6b 65 79 63 6f 64 65 20 72 65 70 72   ┆The number in first_keycode repr┆
0x1260…1280 65 73 65 6e 74 73 20 74 68 65 0a 20 20 20 20 20 66 69 72 73 74 20 6e 75 6d 62 65 72 20 69 6e 20   ┆esents the      first number in ┆
0x1280…12a0 74 68 65 20 72 61 6e 67 65 20 6f 66 20 74 68 65 20 61 6c 74 65 72 65 64 20 6d 61 70 70 69 6e 67   ┆the range of the altered mapping┆
0x12a0…12c0 2c 20 61 6e 64 20 63 6f 75 6e 74 0a 20 20 20 20 20 72 65 70 72 65 73 65 6e 74 73 20 74 68 65 20   ┆, and count      represents the ┆
0x12c0…12e0 6e 75 6d 62 65 72 20 6f 66 20 6b 65 79 63 6f 64 65 73 20 61 6c 74 65 72 65 64 2e 0a 0a 53 08 53   ┆number of keycodes altered.  S S┆
0x12e0…1300 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08   ┆ S SE E E EE E E E A A A AL L L ┆
0x1300…1320 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 58 41 6e 79 45 76 65 6e 74 28 33   ┆LS S S SO O O O      XAnyEvent(3┆
0x1320…1340 58 31 31 29 2c 20 58 42 75 74 74 6f 6e 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58   ┆X11), XButtonEvent(3X11),      X┆
0x1340…1360 43 72 65 61 74 65 57 69 6e 64 6f 77 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 43 69 72 63 75 6c   ┆CreateWindowEvent(3X11), XCircul┆
0x1360…1380 61 74 65 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 43 69 72 63 75 6c 61 74 65 52   ┆ateEvent(3X11),      XCirculateR┆
0x1380…13a0 65 71 75 65 73 74 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 43 6f 6c 6f 72 6d 61 70 45 76 65 6e   ┆equestEvent(3X11), XColormapEven┆
0x13a0…13c0 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 43 6f 6e 66 69 67 75 72 65 45 76 65 6e 74 28 33 58   ┆t(3X11),      XConfigureEvent(3X┆
0x13c0…13e0 31 31 29 2c 20 58 43 6f 6e 66 69 67 75 72 65 52 65 71 75 65 73 74 45 76 65 6e 74 28 33 58 31 31   ┆11), XConfigureRequestEvent(3X11┆
0x13e0…1400 29 2c 0a 20 20 20 20 20 58 43 72 6f 73 73 69 6e 67 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 44   ┆),      XCrossingEvent(3X11), XD┆
0x1400…1420 65 73 74 72 6f 79 57 69 6e 64 6f 77 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 45   ┆estroyWindowEvent(3X11),      XE┆
0x1420…1440 72 72 6f 72 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 45 78 70 6f 73 65 45 76 65 6e 74 28 33 58   ┆rrorEvent(3X11), XExposeEvent(3X┆
0x1440…1460 31 31 29 2c 0a 20 20 20 20 20 58 46 6f 63 75 73 43 68 61 6e 67 65 45 76 65 6e 74 28 33 58 31 31   ┆11),      XFocusChangeEvent(3X11┆
0x1460…1480 29 2c 20 58 47 72 61 70 68 69 63 73 45 78 70 6f 73 65 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20   ┆), XGraphicsExposeEvent(3X11),  ┆
0x1480…14a0 20 20 20 20 58 47 72 61 76 69 74 79 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 4b 65 79 6d 61 70   ┆    XGravityEvent(3X11), XKeymap┆
0x14a0…14c0 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 4d 61 70 52 65 71 75 65 73 74 45 76 65   ┆Event(3X11),      XMapRequestEve┆
0x14c0…14e0 6e 74 28 33 58 31 31 29 2c 20 58 50 72 6f 70 65 72 74 79 45 76 65 6e 74 28 33 58 31 31 29 2c 0a   ┆nt(3X11), XPropertyEvent(3X11), ┆
0x14e0…1500 20 20 20 20 20 58 52 65 70 61 72 65 6e 74 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 52 65 73 69   ┆     XReparentEvent(3X11), XResi┆
0x1500…1520 7a 65 52 65 71 75 65 73 74 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 53 65 6c 65   ┆zeRequestEvent(3X11),      XSele┆
0x1520…1540 63 74 69 6f 6e 43 6c 65 61 72 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 53 65 6c 65 63 74 69 6f   ┆ctionClearEvent(3X11), XSelectio┆
0x1540…1560 6e 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 53 65 6c 65 63 74 69 6f 6e 52 65 71   ┆nEvent(3X11),      XSelectionReq┆
0x1560…1580 75 65 73 74 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 55 6e 6d 61 70 45 76 65 6e 74 28 33 58 31   ┆uestEvent(3X11), XUnmapEvent(3X1┆
0x1580…15a0 31 29 2c 0a 20 20 20 20 20 58 56 69 73 69 62 69 6c 69 74 79 45 76 65 6e 74 28 33 58 31 31 29 0a   ┆1),      XVisibilityEvent(3X11) ┆
0x15a0…15c0 20 20 20 20 20 5f 08 58 5f 08 6c 5f 08 69 5f 08 62 20 2d 20 5f 08 43 20 5f 08 4c 5f 08 61 5f 08   ┆     _ X_ l_ i_ b - _ C _ L_ a_ ┆
0x15c0…15e0 6e 5f 08 67 5f 08 75 5f 08 61 5f 08 67 5f 08 65 20 5f 08 58 20 5f 08 49 5f 08 6e 5f 08 74 5f 08   ┆n_ g_ u_ a_ g_ e _ X _ I_ n_ t_ ┆
0x15e0…1600 65 5f 08 72 5f 08 66 5f 08 61 5f 08 63 5f 08 65 0a 0a 41 75 67 75 73 74 20 31 39 39 31 20 20 20   ┆e_ r_ f_ a_ c_ e  August 1991   ┆
0x1600…1620 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f   ┆                          TX Pro┆
0x1620…1640 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a   ┆grammer's Reference             ┆
0x1640…1647 0a 0a 0a 0a 0a 0a 0a                                                                              ┆       ┆