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

⟦25f9615c2⟧

    Length: 2989 (0xbad)
    Names: »XGravityEvent.3X«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat3/XGravityEvent.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 58 47 72 61 76 69 74 79 45 76 65 6e 74 28 33 58 29 0a 0a 0a 0a   ┆ions       XGravityEvent(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 47 72 61 76 69 74 79 45 76 65 6e 74 20 2d 20 47 72 61 76 69 74 79 4e 6f 74 69 66 79 20   ┆  XGravityEvent - GravityNotify ┆
0x0a0…0c0 65 76 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   ┆event structure  S S S ST T T TR┆
0x0c0…0e0 08 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   ┆ R R RU U U UC C C CT T T TU U U┆
0x0e0…100 08 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   ┆ UR R R RE E E ES S S S      The┆
0x100…120 20 73 74 72 75 63 74 75 72 65 20 66 6f 72 20 5f 08 47 5f 08 72 5f 08 61 5f 08 76 5f 08 69 5f 08   ┆ structure for _ G_ r_ a_ v_ i_ ┆
0x120…140 74 5f 08 79 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 63 6f   ┆t_ y_ N_ o_ t_ i_ f_ y events co┆
0x140…160 6e 74 61 69 6e 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   ┆ntains:       typedef struct {  ┆
0x160…180 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 20 20 20 20 20   ┆         int type;              ┆
0x180…1a0 20 20 2f 2a 20 47 72 61 76 69 74 79 4e 6f 74 69 66 79 20 2a 2f 0a 20 20 20 20 20 20 20 20 20 20   ┆  /* GravityNotify */           ┆
0x1a0…1c0 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 23 20 6f 66   ┆unsigned long serial;    /* # of┆
0x1c0…1e0 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 65 72 76 65   ┆ last request processed by serve┆
0x1e0…200 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 6e 74 3b 20   ┆r */           Bool send_event; ┆
0x200…220 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 20 66 72 6f   ┆        /* true if this came fro┆
0x220…240 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 20 20 20 20   ┆m a SendEvent request */        ┆
0x240…260 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 2f 2a 20 44   ┆   Display *display;        /* D┆
0x260…280 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 6f 6d 20 2a   ┆isplay the event was read from *┆
0x280…2a0 2f 0a 20 20 20 20 20 20 20 20 20 20 57 69 6e 64 6f 77 20 65 76 65 6e 74 3b 0a 20 20 20 20 20 20   ┆/           Window event;       ┆
0x2a0…2c0 20 20 20 20 57 69 6e 64 6f 77 20 77 69 6e 64 6f 77 3b 0a 20 20 20 20 20 20 20 20 20 20 69 6e 74   ┆    Window window;           int┆
0x2c0…2e0 20 78 2c 20 79 3b 0a 20 20 20 20 20 7d 20 58 47 72 61 76 69 74 79 45 76 65 6e 74 3b 0a 0a 20 20   ┆ x, y;      } XGravityEvent;    ┆
0x2e0…300 20 20 20 57 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   ┆   When you receive this event, ┆
0x300…320 74 68 65 20 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   ┆the structure members are set   ┆
0x320…340 20 20 20 61 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   ┆   as follows.       The type me┆
0x340…360 6d 62 65 72 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   ┆mber is set to the event type co┆
0x360…380 6e 73 74 61 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   ┆nstant name that      uniquely i┆
0x380…3a0 64 65 6e 74 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   ┆dentifies it.  For example, when┆
0x3a0…3c0 20 74 68 65 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   ┆ the X server      reports a _ G┆
0x3c0…3e0 5f 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   ┆_ r_ a_ p_ h_ i_ c_ s_ E_ x_ p_ ┆
0x3e0…400 6f 5f 08 73 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   ┆o_ s_ e event to a client applic┆
0x400…420 61 74 69 6f 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   ┆ation, it      sends an _ X_ G_ ┆
0x420…440 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 5f   ┆r_ a_ p_ h_ i_ c_ s_ E_ x_ p_ o_┆
0x440…460 08 73 5f 08 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   ┆ s_ e_ E_ v_ e_ n_ t structure w┆
0x460…480 69 74 68 20 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   ┆ith the type member      set to ┆
0x480…4a0 5f 08 47 5f 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   ┆_ G_ r_ a_ p_ h_ i_ c_ s_ E_ x_ ┆
0x4a0…4c0 70 5f 08 6f 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   ┆p_ o_ s_ e.  The display member ┆
0x4c0…4e0 69 73 20 73 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   ┆is set to a      pointer to the ┆
0x4e0…500 64 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 6f 6e 2e 20 20   ┆display the event was read on.  ┆
0x500…520 54 68 65 0a 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   ┆The      send_event member is se┆
0x520…540 74 20 74 6f 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   ┆t to _ T_ r_ u_ e if the event c┆
0x540…560 61 6d 65 20 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   ┆ame from a      _ S_ e_ n_ d_ E_┆
0x560…580 08 76 5f 08 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   ┆ v_ e_ n_ t protocol request.  T┆
0x580…5a0 68 65 20 73 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   ┆he serial member is set from    ┆
0x5a0…5c0 20 20 74 68 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   ┆  the serial number reported in ┆
0x5c0…5e0 74 68 65 20 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   ┆the protocol but expanded from  ┆
0x5e0…600 20 20 20 20 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   ┆    the 16-bit least-significant┆
0x600…620 20 62 69 74 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   ┆ bits to a full 32-bit value.   ┆
0x620…640 20 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 20 74 6f 20 74   ┆   The window member is set to t┆
0x640…660 68 65 20 77 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   ┆he window that is most useful   ┆
0x660…680 20 20 20 74 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   ┆   to toolkit dispatchers.      ┆
0x680…6a0 20 54 68 65 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   ┆ The event member is set either ┆
0x6a0…6c0 74 6f 20 74 68 65 20 77 69 6e 64 6f 77 20 74 68 61 74 20 77 61 73 20 6d 6f 76 65 64 0a 20 20 20   ┆to the window that was moved    ┆
0x6c0…6e0 20 20 6f 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   ┆  or to its parent, depending on┆
0x6e0…700 20 77 68 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   ┆ whether _ S_ t_ r_ u_ c_ t_ u_ ┆
0x700…720 72 5f 08 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   ┆r_ e_ N_ o_ t_ i_ f_ y or      _┆
0x720…740 08 53 5f 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   ┆ S_ u_ b_ s_ t_ r_ u_ c_ t_ u_ r┆
0x740…760 5f 08 65 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   ┆_ e_ N_ o_ t_ i_ f_ y was select┆
0x760…780 65 64 2e 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   ┆ed.  The window member is set   ┆
0x780…7a0 20 20 20 74 6f 20 74 68 65 20 63 68 69 6c 64 20 77 69 6e 64 6f 77 20 74 68 61 74 20 77 61 73 20   ┆   to the child window that was ┆
0x7a0…7c0 6d 6f 76 65 64 2e 20 20 54 68 65 20 78 20 61 6e 64 20 79 20 6d 65 6d 62 65 72 73 20 61 72 65 0a   ┆moved.  The x and y members are ┆
0x7c0…7e0 20 20 20 20 20 73 65 74 20 74 6f 20 74 68 65 20 63 6f 6f 72 64 69 6e 61 74 65 73 20 72 65 6c 61   ┆     set to the coordinates rela┆
0x7e0…800 74 69 76 65 20 74 6f 20 74 68 65 20 6e 65 77 20 70 61 72 65 6e 74 20 77 69 6e 64 6f 77 27 73 0a   ┆tive to the new parent window's ┆
0x800…820 20 20 20 20 20 6f 72 69 67 69 6e 20 61 6e 64 20 69 6e 64 69 63 61 74 65 20 74 68 65 20 70 6f 73   ┆     origin and indicate the pos┆
0x820…840 69 74 69 6f 6e 20 6f 66 20 74 68 65 20 75 70 70 65 72 2d 6c 65 66 74 20 6f 75 74 73 69 64 65 0a   ┆ition of the upper-left outside ┆
0x840…860 20 20 20 20 20 63 6f 72 6e 65 72 20 6f 66 20 74 68 65 20 77 69 6e 64 6f 77 2e 0a 0a 53 08 53 08   ┆     corner of the window.  S S ┆
0x860…880 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 4c   ┆S SE E E EE E E E A A A AL L L L┆
0x880…8a0 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 58   ┆S S S SO O O O      XAnyEvent(3X┆
0x8a0…8c0 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 43   ┆11), XButtonEvent(3X11),      XC┆
0x8c0…8e0 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 61   ┆reateWindowEvent(3X11), XCircula┆
0x8e0…900 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 65   ┆teEvent(3X11),      XCirculateRe┆
0x900…920 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 74   ┆questEvent(3X11), XColormapEvent┆
0x920…940 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 31   ┆(3X11),      XConfigureEvent(3X1┆
0x940…960 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 29   ┆1), XConfigureRequestEvent(3X11)┆
0x960…980 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 65   ┆,      XCrossingEvent(3X11), XDe┆
0x980…9a0 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 72   ┆stroyWindowEvent(3X11),      XEr┆
0x9a0…9c0 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 31   ┆rorEvent(3X11), XExposeEvent(3X1┆
0x9c0…9e0 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 29   ┆1),      XFocusChangeEvent(3X11)┆
0x9e0…a00 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 20   ┆, XGraphicsExposeEvent(3X11),   ┆
0xa00…a20 20 20 20 58 4b 65 79 6d 61 70 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 4d 61 70 45 76 65 6e 74   ┆   XKeymapEvent(3X11), XMapEvent┆
0xa20…a40 28 33 58 31 31 29 2c 20 58 4d 61 70 52 65 71 75 65 73 74 45 76 65 6e 74 28 33 58 31 31 29 2c 0a   ┆(3X11), XMapRequestEvent(3X11), ┆
0xa40…a60 20 20 20 20 20 58 50 72 6f 70 65 72 74 79 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 52 65 70 61   ┆     XPropertyEvent(3X11), XRepa┆
0xa60…a80 72 65 6e 74 45 76 65 6e 74 28 33 58 31 31 29 2c 0a 20 20 20 20 20 58 52 65 73 69 7a 65 52 65 71   ┆rentEvent(3X11),      XResizeReq┆
0xa80…aa0 75 65 73 74 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58 53 65 6c 65 63 74 69 6f 6e 43 6c 65 61 72   ┆uestEvent(3X11), XSelectionClear┆
0xaa0…ac0 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 45 76 65 6e   ┆Event(3X11),      XSelectionEven┆
0xac0…ae0 74 28 33 58 31 31 29 2c 20 58 53 65 6c 65 63 74 69 6f 6e 52 65 71 75 65 73 74 45 76 65 6e 74 28   ┆t(3X11), XSelectionRequestEvent(┆
0xae0…b00 33 58 31 31 29 2c 0a 20 20 20 20 20 58 55 6e 6d 61 70 45 76 65 6e 74 28 33 58 31 31 29 2c 20 58   ┆3X11),      XUnmapEvent(3X11), X┆
0xb00…b20 56 69 73 69 62 69 6c 69 74 79 45 76 65 6e 74 28 33 58 31 31 29 0a 20 20 20 20 20 5f 08 58 5f 08   ┆VisibilityEvent(3X11)      _ X_ ┆
0xb20…b40 6c 5f 08 69 5f 08 62 20 2d 20 5f 08 43 20 5f 08 4c 5f 08 61 5f 08 6e 5f 08 67 5f 08 75 5f 08 61   ┆l_ i_ b - _ C _ L_ a_ n_ g_ u_ a┆
0xb40…b60 5f 08 67 5f 08 65 20 5f 08 58 20 5f 08 49 5f 08 6e 5f 08 74 5f 08 65 5f 08 72 5f 08 66 5f 08 61   ┆_ g_ e _ X _ I_ n_ t_ e_ r_ f_ a┆
0xb60…b80 5f 08 63 5f 08 65 0a 0a 41 75 67 75 73 74 20 31 39 39 31 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆_ c_ e  August 1991             ┆
0xb80…ba0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20   ┆                TX Programmer's ┆
0xba0…bad 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a                                                            ┆Reference    ┆