|
version 1.1.1.2, 1996/01/03 07:00:29
|
version 1.1.1.3, 1996/12/22 03:16:25
|
|
|
|
| /* | /* |
| * $XConsortium: Xproto.h,v 1.91 95/06/03 00:10:10 gildea Exp $ |
* $XConsortium: Xproto.h /main/21 1996/03/20 15:27:51 mor $ |
| */ | */ |
| | |
| /* Definitions for the X window system used by server and c bindings */ | /* Definitions for the X window system used by server and c bindings */ |
|
|
|
| * meant to be 32 byte quantity | * meant to be 32 byte quantity |
| *****************/ | *****************/ |
| | |
| #ifdef NEED_REPLIES |
|
| |
|
| /* GenericReply is the common format of all replies. The "data" items | /* GenericReply is the common format of all replies. The "data" items |
| are specific to each individual reply type. */ | are specific to each individual reply type. */ |
| | |
|
|
|
| CARD32 pad7 B32; | CARD32 pad7 B32; |
| } xListHostsReply; | } xListHostsReply; |
| | |
| #endif /* NEED_REPLIES */ |
|
| |
|
| | |
| | |
| | |
|
|
|
| * All events are 32 bytes | * All events are 32 bytes |
| *****************************************************************/ | *****************************************************************/ |
| | |
| #ifdef NEED_EVENTS /* this hack is necessary because |
|
| the symbol table in the library |
|
| is too big to link */ |
|
| |
|
| typedef struct _xEvent { | typedef struct _xEvent { |
| union { | union { |
| struct { | struct { |
|
|
|
| BYTE map[31]; | BYTE map[31]; |
| } xKeymapEvent; | } xKeymapEvent; |
| | |
| #endif /* NEED_EVENTS */ |
|
| |
|
| #define XEventSize (sizeof(xEvent)) | #define XEventSize (sizeof(xEvent)) |
| | |
| /* XReply is the union of all the replies above whose "fixed part" | /* XReply is the union of all the replies above whose "fixed part" |
|
|
|
| QueryFontReply, QueryKeymapReply, or GetKeyboardControlReply | QueryFontReply, QueryKeymapReply, or GetKeyboardControlReply |
| ListFontsWithInfoReply */ | ListFontsWithInfoReply */ |
| | |
| #ifdef NEED_REPLIES |
|
| |
|
| typedef union { | typedef union { |
| xGenericReply generic; | xGenericReply generic; |
| xGetGeometryReply geom; | xGetGeometryReply geom; |
|
|
|
| xGetScreenSaverReply screenSaver; | xGetScreenSaverReply screenSaver; |
| xListHostsReply hosts; | xListHostsReply hosts; |
| xError error; | xError error; |
| #ifdef NEED_EVENTS |
|
| xEvent event; | xEvent event; |
| #endif /* NEED_EVENTS */ |
|
| } xReply; | } xReply; |
| | |
| #endif /* NEED_REPLIES */ |
|
| |
|
| | |
| | |
| /***************************************************************** | /***************************************************************** |
|
|
|
| Time time B32; | Time time B32; |
| } xConvertSelectionReq; | } xConvertSelectionReq; |
| | |
| #ifdef NEED_EVENTS |
|
| |
|
| typedef struct { | typedef struct { |
| CARD8 reqType; | CARD8 reqType; |
| BOOL propagate; | BOOL propagate; |
|
|
|
| xEvent event; | xEvent event; |
| #endif /* WORD64 */ | #endif /* WORD64 */ |
| } xSendEventReq; | } xSendEventReq; |
| |
|
| #endif /* NEED_EVENTS */ |
|
| | |
| typedef struct { | typedef struct { |
| CARD8 reqType; | CARD8 reqType; |