1XErrorEvent(3)                  XLIB FUNCTIONS                  XErrorEvent(3)
2
3
4

NAME

6       XErrorEvent - X error event structure
7

STRUCTURES

9       The XErrorEvent structure contains:
10
11       typedef struct {
12               int type;
13               Display *display;       /* Display the event was read from */
14               XID resourceid;         /* resource id */
15               unsigned long serial;           /* serial number of failed request */
16               unsigned char error_code;       /* error code of failed request */
17               unsigned char request_code;     /* Major op-code of failed request */
18               unsigned char minor_code;       /* Minor op-code of failed request */
19       } XErrorEvent;
20
21       When you receive this event, the structure members are set as follows.
22
23       The serial member is the number of requests, starting from one, sent
24       over the network connection since it was opened.  It is the number that
25       was the value of NextRequest immediately before the failing call was
26       made.  The request_code member is a protocol request of the procedure
27       that failed, as defined in <X11/Xproto.h>.
28

SEE ALSO

30       AllPlanes(3), XAnyEvent(3), XButtonEvent(3), XCreateWindowEvent(3),
31       XCirculateEvent(3), XCirculateRequestEvent(3), XColormapEvent(3), XCon‐
32       figureEvent(3), XConfigureRequestEvent(3), XCrossingEvent(3), XDestroy‐
33       WindowEvent(3), XExposeEvent(3), XFocusChangeEvent(3), XGraphicsEx‐
34       poseEvent(3), XGravityEvent(3), XKeymapEvent(3), XMapEvent(3), XMapRe‐
35       questEvent(3), XPropertyEvent(3), XReparentEvent(3), XResiz‐
36       eRequestEvent(3), XSelectionClearEvent(3), XSelectionEvent(3), XSelec‐
37       tionRequestEvent(3), XUnmapEvent(3), XVisibilityEvent(3)
38       Xlib - C Language X Interface
39
40
41
42X Version 11                     libX11 1.6.7                   XErrorEvent(3)
Impressum