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

⟦606194521⟧

    Length: 2975 (0xb9f)
    Names: »XKeymapEvent.3X«

Derivation

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

Default Hex Dump

0x000…020 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_┆
0x020…040 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┆
0x040…060 69 6f 6e 73 20 20 20 20 20 20 20 20 58 4b 65 79 6d 61 70 45 76 65 6e 74 28 33 58 29 0a 0a 0a 0a   ┆ions        XKeymapEvent(3X)    ┆
0x060…080 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    ┆
0x080…0a0 20 20 58 4b 65 79 6d 61 70 45 76 65 6e 74 20 2d 20 4b 65 79 6d 61 70 4e 6f 74 69 66 79 20 65 76   ┆  XKeymapEvent - KeymapNotify ev┆
0x0a0…0c0 65 6e 74 20 73 74 72 75 63 74 75 72 65 0a 0a 53 08 53 08 53 08 53 54 08 54 08 54 08 54 52 08 52   ┆ent structure  S S S ST T T TR R┆
0x0c0…0e0 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 55   ┆ R RU U U UC C C CT T T TU U U U┆
0x0e0…100 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 73   ┆R R R RE E E ES S S S      The s┆
0x100…120 74 72 75 63 74 75 72 65 20 66 6f 72 20 5f 08 4b 5f 08 65 5f 08 79 5f 08 6d 5f 08 61 5f 08 70 5f   ┆tructure for _ K_ e_ y_ m_ a_ p_┆
0x120…140 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 63 6f 6e 74 61 69 6e   ┆ N_ o_ t_ i_ f_ y events contain┆
0x140…160 73 3a 0a 0a 20 20 20 20 20 2f 2a 20 67 65 6e 65 72 61 74 65 64 20 6f 6e 20 45 6e 74 65 72 57 69   ┆s:       /* generated on EnterWi┆
0x160…180 6e 64 6f 77 20 61 6e 64 20 46 6f 63 75 73 49 6e 20 77 68 65 6e 20 4b 65 79 6d 61 70 53 74 61 74   ┆ndow and FocusIn when KeymapStat┆
0x180…1a0 65 20 73 65 6c 65 63 74 65 64 20 2a 2f 0a 20 20 20 20 20 74 79 70 65 64 65 66 20 73 74 72 75 63   ┆e selected */      typedef struc┆
0x1a0…1c0 74 20 7b 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74 20 74 79 70 65 3b 20 20 20 20 20 20 20 20 20   ┆t {           int type;         ┆
0x1c0…1e0 20 20 20 20 20 20 20 2f 2a 20 4b 65 79 6d 61 70 4e 6f 74 69 66 79 20 2a 2f 0a 20 20 20 20 20 20   ┆       /* KeymapNotify */       ┆
0x1e0…200 20 20 20 20 75 6e 73 69 67 6e 65 64 20 6c 6f 6e 67 20 73 65 72 69 61 6c 3b 20 20 20 20 2f 2a 20   ┆    unsigned long serial;    /* ┆
0x200…220 23 20 6f 66 20 6c 61 73 74 20 72 65 71 75 65 73 74 20 70 72 6f 63 65 73 73 65 64 20 62 79 20 73   ┆# of last request processed by s┆
0x220…240 65 72 76 65 72 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 42 6f 6f 6c 20 73 65 6e 64 5f 65 76 65   ┆erver */           Bool send_eve┆
0x240…260 6e 74 3b 20 20 20 20 20 20 20 20 20 2f 2a 20 74 72 75 65 20 69 66 20 74 68 69 73 20 63 61 6d 65   ┆nt;         /* true if this came┆
0x260…280 20 66 72 6f 6d 20 61 20 53 65 6e 64 45 76 65 6e 74 20 72 65 71 75 65 73 74 20 2a 2f 0a 20 20 20   ┆ from a SendEvent request */    ┆
0x280…2a0 20 20 20 20 20 20 20 44 69 73 70 6c 61 79 20 2a 64 69 73 70 6c 61 79 3b 20 20 20 20 20 20 20 20   ┆       Display *display;        ┆
0x2a0…2c0 2f 2a 20 44 69 73 70 6c 61 79 20 74 68 65 20 65 76 65 6e 74 20 77 61 73 20 72 65 61 64 20 66 72   ┆/* Display the event was read fr┆
0x2c0…2e0 6f 6d 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20 57 69 6e 64 6f 77 20 77 69 6e 64 6f 77 3b 0a 20   ┆om */           Window window;  ┆
0x2e0…300 20 20 20 20 20 20 20 20 20 63 68 61 72 20 6b 65 79 5f 76 65 63 74 6f 72 5b 33 32 5d 3b 0a 20 20   ┆         char key_vector[32];   ┆
0x300…320 20 20 20 7d 20 58 4b 65 79 6d 61 70 45 76 65 6e 74 3b 0a 0a 20 20 20 20 20 57 68 65 6e 20 79 6f   ┆   } XKeymapEvent;       When yo┆
0x320…340 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 73 74 72 75 63 74   ┆u receive this event, the struct┆
0x340…360 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 73 20 66 6f 6c 6c   ┆ure members are set      as foll┆
0x360…380 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 20 69 73 20 73 65   ┆ows.       The type member is se┆
0x380…3a0 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 20 6e 61 6d   ┆t to the event type constant nam┆
0x3a0…3c0 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 69 65 73 20   ┆e that      uniquely identifies ┆
0x3c0…3e0 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 20 73 65 72   ┆it.  For example, when the X ser┆
0x3e0…400 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 5f 08 70 5f   ┆ver      reports a _ G_ r_ a_ p_┆
0x400…420 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 20 65 76   ┆ h_ i_ c_ s_ E_ x_ p_ o_ s_ e ev┆
0x420…440 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 20 69 74 0a   ┆ent to a client application, it ┆
0x440…460 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 70 5f 08 68   ┆     sends an _ X_ G_ r_ a_ p_ h┆
0x460…480 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 08 45 5f 08   ┆_ i_ c_ s_ E_ x_ p_ o_ s_ e_ E_ ┆
0x480…4a0 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 65 20 74 79   ┆v_ e_ n_ t structure with the ty┆
0x4a0…4c0 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 5f 08 61 5f   ┆pe member      set to _ G_ r_ a_┆
0x4c0…4e0 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 65   ┆ p_ h_ i_ c_ s_ E_ x_ p_ o_ s_ e┆
0x4e0…500 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 20 74 6f 20   ┆.  The display member is set to ┆
0x500…520 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 79 20 74 68   ┆a      pointer to the display th┆
0x520…540 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 20 20 20 73   ┆e event was read on.  The      s┆
0x540…560 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 08 54 5f 08   ┆end_event member is set to _ T_ ┆
0x560…580 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 6f 6d 20 61   ┆r_ u_ e if the event came from a┆
0x580…5a0 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 08 6e 5f 08   ┆      _ S_ e_ n_ d_ E_ v_ e_ n_ ┆
0x5a0…5c0 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 69 61 6c 20   ┆t protocol request.  The serial ┆
0x5c0…5e0 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 73 65 72 69   ┆member is set from      the seri┆
0x5e0…600 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 6f 74 6f 63   ┆al number reported in the protoc┆
0x600…620 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 65 20 31 36   ┆ol but expanded from      the 16┆
0x620…640 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 74 6f 20 61   ┆-bit least-significant bits to a┆
0x640…660 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 20 77 69 6e   ┆ full 32-bit value.      The win┆
0x660…680 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 64 6f 77 20   ┆dow member is set to the window ┆
0x680…6a0 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 74 6f 6f 6c   ┆that is most useful      to tool┆
0x6a0…6c0 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 77 69 6e 64 6f   ┆kit dispatchers.       The windo┆
0x6c0…6e0 77 20 6d 65 6d 62 65 72 20 69 73 20 6e 6f 74 20 75 73 65 64 20 62 75 74 20 69 73 20 70 72 65 73   ┆w member is not used but is pres┆
0x6e0…700 65 6e 74 20 74 6f 20 61 69 64 20 73 6f 6d 65 0a 20 20 20 20 20 74 6f 6f 6c 6b 69 74 73 2e 20 20   ┆ent to aid some      toolkits.  ┆
0x700…720 54 68 65 20 6b 65 79 5f 76 65 63 74 6f 72 20 6d 65 6d 62 65 72 20 69 73 20 73 65 74 20 74 6f 20   ┆The key_vector member is set to ┆
0x720…740 74 68 65 20 62 69 74 20 76 65 63 74 6f 72 20 6f 66 0a 20 20 20 20 20 74 68 65 20 6b 65 79 62 6f   ┆the bit vector of      the keybo┆
0x740…760 61 72 64 2e 20 20 45 61 63 68 20 62 69 74 20 73 65 74 20 74 6f 20 31 20 69 6e 64 69 63 61 74 65   ┆ard.  Each bit set to 1 indicate┆
0x760…780 73 20 74 68 61 74 20 74 68 65 0a 20 20 20 20 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 20 6b 65   ┆s that the      corresponding ke┆
0x780…7a0 79 20 69 73 20 63 75 72 72 65 6e 74 6c 79 20 70 72 65 73 73 65 64 2e 20 20 54 68 65 20 76 65 63   ┆y is currently pressed.  The vec┆
0x7a0…7c0 74 6f 72 20 69 73 0a 20 20 20 20 20 72 65 70 72 65 73 65 6e 74 65 64 20 61 73 20 33 32 20 62 79   ┆tor is      represented as 32 by┆
0x7c0…7e0 74 65 73 2e 20 20 42 79 74 65 20 4e 20 28 66 72 6f 6d 20 30 29 20 63 6f 6e 74 61 69 6e 73 20 74   ┆tes.  Byte N (from 0) contains t┆
0x7e0…800 68 65 20 62 69 74 73 0a 20 20 20 20 20 66 6f 72 20 6b 65 79 73 20 38 4e 20 74 6f 20 38 4e 20 2b   ┆he bits      for keys 8N to 8N +┆
0x800…820 20 37 20 77 69 74 68 20 74 68 65 20 6c 65 61 73 74 2d 73 69 67 6e 69 66 69 63 61 6e 74 20 62 69   ┆ 7 with the least-significant bi┆
0x820…840 74 20 69 6e 20 74 68 65 0a 20 20 20 20 20 62 79 74 65 20 72 65 70 72 65 73 65 6e 74 69 6e 67 20   ┆t in the      byte representing ┆
0x840…860 6b 65 79 20 38 4e 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41   ┆key 8N.  S S S SE E E EE E E E A┆
0x860…880 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20   ┆ A A AL L L LS S S SO O O O     ┆
0x880…8a0 20 58 41 6e 79 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 42 75 74 74 6f 6e 45 76 65 6e 74 28 33   ┆ XAnyEvent(3X11), XButtonEvent(3┆
0x8a0…8c0 58 31 31 29 2c 0a 20 20 20 20 20 58 43 72 65 61 74 65 57 69 6e 64 6f 77 45 76 65 6e 74 28 33 58   ┆X11),      XCreateWindowEvent(3X┆
0x8c0…8e0 31 31 29 2c 20 58 43 69 72 63 75 6c 61 74 65 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20   ┆11), XCirculateEvent(3X11),     ┆
0x8e0…900 20 58 43 69 72 63 75 6c 61 74 65 52 65 71 75 65 73 74 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58   ┆ XCirculateRequestEvent(3X11), X┆
0x900…920 43 6f 6c 6f 72 6d 61 70 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 43 6f 6e 66 69   ┆ColormapEvent(3X11),      XConfi┆
0x920…940 67 75 72 65 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 43 6f 6e 66 69 67 75 72 65 52 65 71 75 65   ┆gureEvent(3X11), XConfigureReque┆
0x940…960 73 74 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 43 72 6f 73 73 69 6e 67 45 76 65   ┆stEvent(3X11),      XCrossingEve┆
0x960…980 6e 74 28 33 58 31 31 29 2c 20 58 44 65 73 74 72 6f 79 57 69 6e 64 6f 77 45 76 65 6e 74 28 33 58   ┆nt(3X11), XDestroyWindowEvent(3X┆
0x980…9a0 31 31 29 2c 0a 20 20 20 20 20 58 45 72 72 6f 72 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 45 78   ┆11),      XErrorEvent(3X11), XEx┆
0x9a0…9c0 70 6f 73 65 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 46 6f 63 75 73 43 68 61 6e   ┆poseEvent(3X11),      XFocusChan┆
0x9c0…9e0 67 65 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 47 72 61 70 68 69 63 73 45 78 70 6f 73 65 45 76   ┆geEvent(3X11), XGraphicsExposeEv┆
0x9e0…a00 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 47 72 61 76 69 74 79 45 76 65 6e 74 28 33 58   ┆ent(3X11),      XGravityEvent(3X┆
0xa00…a20 31 31 29 2c 20 58 4d 61 70 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 4d 61 70 52   ┆11), XMapEvent(3X11),      XMapR┆
0xa20…a40 65 71 75 65 73 74 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 50 72 6f 70 65 72 74 79 45 76 65 6e   ┆equestEvent(3X11), XPropertyEven┆
0xa40…a60 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 52 65 70 61 72 65 6e 74 45 76 65 6e 74 28 33 58 31   ┆t(3X11),      XReparentEvent(3X1┆
0xa60…a80 31 29 2c 20 58 52 65 73 69 7a 65 52 65 71 75 65 73 74 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20   ┆1), XResizeRequestEvent(3X11),  ┆
0xa80…aa0 20 20 20 20 58 53 65 6c 65 63 74 69 6f 6e 43 6c 65 61 72 45 76 65 6e 74 28 33 58 31 31 29 2c 20   ┆    XSelectionClearEvent(3X11), ┆
0xaa0…ac0 58 53 65 6c 65 63 74 69 6f 6e 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 53 65 6c   ┆XSelectionEvent(3X11),      XSel┆
0xac0…ae0 65 63 74 69 6f 6e 52 65 71 75 65 73 74 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 55 6e 6d 61 70   ┆ectionRequestEvent(3X11), XUnmap┆
0xae0…b00 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 56 69 73 69 62 69 6c 69 74 79 45 76 65   ┆Event(3X11),      XVisibilityEve┆
0xb00…b20 6e 74 28 33 58 31 31 29 0a 20 20 20 20 20 5f 08 58 5f 08 6c 5f 08 69 5f 08 62 20 2d 20 5f 08 43   ┆nt(3X11)      _ X_ l_ i_ b - _ C┆
0xb20…b40 20 5f 08 4c 5f 08 61 5f 08 6e 5f 08 67 5f 08 75 5f 08 61 5f 08 67 5f 08 65 20 5f 08 58 20 5f 08   ┆ _ L_ a_ n_ g_ u_ a_ g_ e _ X _ ┆
0xb40…b60 49 5f 08 6e 5f 08 74 5f 08 65 5f 08 72 5f 08 66 5f 08 61 5f 08 63 5f 08 65 0a 0a 41 75 67 75 73   ┆I_ n_ t_ e_ r_ f_ a_ c_ e  Augus┆
0xb60…b80 74 20 31 39 39 31 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   ┆t 1991                          ┆
0xb80…b9f 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a      ┆   TX Programmer's Reference   ┆