diff options
author | Denys Dmytriyenko <denis@denix.org> | 2010-04-16 22:24:38 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2010-04-19 11:51:11 -0400 |
commit | bdb5416371fd16ee698f744c33a18ef1a0f83d73 (patch) | |
tree | c2f59718554d59b5ac0a83d564e5be4f8d8ac89a /recipes/xorg-lib/xorg-headers-native/X11/Xproto.h | |
parent | c1993858d847ac17f4bd00655adf5655fd9d2c6c (diff) |
xorg-headers-native: haven't been updated since 2006, do so now
Update the combined headers from the following packages:
* xproto-7.0.16
* libx11-1.3.3
* libxau-1.0.5
* libxdmcp-1.0.3
* libxt-1.0.8
For example, GenericEvent is new since xproto-7.0.13 and prevents
libx11-native from building on an X-less host.
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Diffstat (limited to 'recipes/xorg-lib/xorg-headers-native/X11/Xproto.h')
-rw-r--r-- | recipes/xorg-lib/xorg-headers-native/X11/Xproto.h | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/recipes/xorg-lib/xorg-headers-native/X11/Xproto.h b/recipes/xorg-lib/xorg-headers-native/X11/Xproto.h index e5bba70082..495d441947 100644 --- a/recipes/xorg-lib/xorg-headers-native/X11/Xproto.h +++ b/recipes/xorg-lib/xorg-headers-native/X11/Xproto.h @@ -1,7 +1,3 @@ -/* - * $Xorg: Xproto.h,v 1.4 2001/02/09 02:03:23 xorgcvs Exp $ - */ - /* Definitions for the X window system used by server and c bindings */ /* @@ -1212,6 +1208,38 @@ typedef struct _xEvent { } u; } xEvent; +/********************************************************* + * + * Generic event + * + * Those events are not part of the core protocol spec and can be used by + * various extensions. + * type is always GenericEvent + * extension is the minor opcode of the extension the event belongs to. + * evtype is the actual event type, unique __per extension__. + * + * GenericEvents can be longer than 32 bytes, with the length field + * specifying the number of 4 byte blocks after the first 32 bytes. + * + * + */ +typedef struct +{ + BYTE type; + CARD8 extension; + CARD16 sequenceNumber B16; + CARD32 length B32; + CARD16 evtype B16; + CARD16 pad2 B16; + CARD32 pad3 B32; + CARD32 pad4 B32; + CARD32 pad5 B32; + CARD32 pad6 B32; + CARD32 pad7 B32; +} xGenericEvent; + + + /* KeymapNotify events are not included in the above union because they are different from all other events: they do not have a "detail" or "sequenceNumber", so there is room for a 248-bit key mask. */ |