| from small one page howto to huge articles all in one place 
 
 poll results
 
 Last additions:
 
 May 25th. 2007:
 
 
 April, 26th. 2006:
 
 
 | You are here: manpages 
 
 XErrorEvent
Section: XLIB FUNCTIONS (3) Updated: libX11 1.6.4Index
Return to Main Contents 
 NAME
XErrorEvent - X error event structure
 STRUCTURES
The 
XErrorEvent 
structure contains:
 
 
typedef struct {
        int type;
        Display *display;       /* Display the event was read from */
        XID resourceid;         /* resource id */
        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 */
} 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 ALSOAllPlanes(3),
XAnyEvent (3),
XButtonEvent (3),
XCreateWindowEvent (3),
XCirculateEvent (3),
XCirculateRequestEvent (3),
XColormapEvent (3),
XConfigureEvent (3),
XConfigureRequestEvent (3),
XCrossingEvent (3),
XDestroyWindowEvent (3),
XExposeEvent (3),
XFocusChangeEvent (3),
XGraphicsExposeEvent (3),
XGravityEvent (3),
XKeymapEvent (3),
XMapEvent (3),
XMapRequestEvent (3),
XPropertyEvent (3),
XReparentEvent (3),
XResizeRequestEvent (3),
XSelectionClearEvent (3),
XSelectionEvent (3),
XSelectionRequestEvent (3),
XUnmapEvent (3),
XVisibilityEvent (3)
Xlib - C Language X Interface 
 
 Index
NAME
STRUCTURES
SEE ALSO
 
 
 
 
 |