X Version 11 (Release 5)
XErrorEvent(XS)
XErrorEvent --
X error event structure
Structures
The XErrorEvent structure contains:
typedef struct {
int type;
Display *display; /* Display the event was read from */
unsigned long serial; /* serial number of failed request */
unsigned char error_code; /* error code of failed request */
unsigned char request_code; /* Major op-code of failed request */
unsigned char minor_code; /* Minor op-code of failed request */
XID resourceid; /* resource id */
} XErrorEvent;
When you receive this event, the structure members are set as follows.
The serial
member is the number of requests, starting from one,
sent over the network connection since it was opened.
It is the number that was the value of NextRequest
immediately before the failing call was made.
The request_code
member is a protocol request
of the procedure that failed, as defined in <X11/Xproto.h>.
See also
AllPlanes(XS),
XAnyEvent(XS),
XButtonEvent(XS),
XCreateWindowEvent(XS),
XCirculateEvent(XS),
XCirculateRequestEvent(XS),
XColormapEvent(XS),
XConfigureEvent(XS),
XConfigureRequestEvent(XS),
XCrossingEvent(XS),
XDestroyWindowEvent(XS),
XExposeEvent(XS),
XFocusChangeEvent(XS),
XGraphicsExposeEvent(XS),
XGravityEvent(XS),
XKeymapEvent(XS),
XMapEvent(XS),
XMapRequestEvent(XS),
XPropertyEvent(XS),
XReparentEvent(XS),
XResizeRequestEvent(XS),
XSelectionClearEvent(XS),
XSelectionEvent(XS),
XSelectionRequestEvent(XS),
XUnmapEvent(XS),
XVisibilityEvent(XS)
Xlib - C Language X Interface
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003