Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XErrEvent(XS) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

AllPlanes(XS)

XAnyEvent(XS)

XButtonEvent(XS)

XCreateWindowEvent(XS)

XCirculateEvent(XS)

XCirculateRequestEvent(XS)

XColormapEvent(XS)

XConfigureEvent(XS)

XConfigureRequestEvent(XS)

XCrossingEvent(XS)

stroyWindowEvent(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)


 XErrorEvent(XS)   X Version 11 (Release 5) 6 January 1993    XErrorEvent(XS)


 Name

    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 requestcode 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), XDe-
    stroyWindowEvent(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


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026