X Version 11 (Release 6.1)

XErrorEvent(X3xlib)


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.

References

AllPlanes(X3xlib), XAnyEvent(X3xlib), XButtonEvent(X3xlib), XCreateWindowEvent(X3xlib), XCirculateEvent(X3xlib), XCirculateRequestEvent(X3xlib), XColormapEvent(X3xlib), XConfigureEvent(X3xlib), XConfigureRequestEvent(X3xlib), XCrossingEvent(X3xlib), XDestroyWindowEvent(X3xlib), XExposeEvent(X3xlib), XFocusChangeEvent(X3xlib), XGraphicsExposeEvent(X3xlib), XGravityEvent(X3xlib), XKeymapEvent(X3xlib), XMapEvent(X3xlib), XMapRequestEvent(X3xlib), XPropertyEvent(X3xlib), XReparentEvent(X3xlib), XResizeRequestEvent(X3xlib), XSelectionClearEvent(X3xlib), XSelectionEvent(X3xlib), XSelectionRequestEvent(X3xlib), XUnmapEvent(X3xlib), XVisibilityEvent(X3xlib)

Xlib - C Language X Interface


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004