man XErrorEvent (Fonctions bibliothèques) - X error event structure

NAME

XErrorEvent - X error event structure

STRUCTURES

The 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 immediately before the failing call was made. The request_code member is a protocol request of the procedure that failed, as defined in

SEE ALSO