home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat3 / xerrorevent.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. XErrorEvent(3X11)      XLIB FUNCTIONS    XErrorEvent(3X11)
  5.  
  6.  
  7. NNAAMMEE
  8.        XErrorEvent - X error event structure
  9.  
  10. SSTTRRUUCCTTUURREESS
  11.        The _X_E_r_r_o_r_E_v_e_n_t structure contains:
  12.  
  13.        typedef struct {
  14.         int type;
  15.         Display *display;    /* Display the event was read from */
  16.         unsigned long serial;/* serial number of failed request */
  17.         unsigned char error_code;/* error code of failed request */
  18.         unsigned char request_code;/* Major op-code of failed request */
  19.         unsigned char minor_code;/* Minor op-code of failed request */
  20.         XID resourceid;    /* resource id */
  21.        } XErrorEvent;
  22.  
  23.        When you receive this event, the structure members are set
  24.        as follows.
  25.  
  26.        The serial member is the number of requests, starting from
  27.        one, sent over the network connection since it was opened.
  28.        It is the number that was the value of _N_e_x_t_R_e_q_u_e_s_t immedi-
  29.        ately before the failing call was made.    The request_code
  30.        member is a protocol request of the procedure that failed,
  31.        as defined in <_X_1_1_/_X_p_r_o_t_o_._h>.
  32.  
  33. SSEEEE AALLSSOO
  34.        AllPlanes(3X11), XAnyEvent(3X11), XButtonEvent(3X11),
  35.        XCreateWindowEvent(3X11), XCirculateEvent(3X11), XCircu-
  36.        lateRequestEvent(3X11), XColormapEvent(3X11), XConfig-
  37.        ureEvent(3X11), XConfigureRequestEvent(3X11),
  38.        XCrossingEvent(3X11), XDestroyWindowEvent(3X11), XEx-
  39.        poseEvent(3X11), XFocusChangeEvent(3X11), XGraphicsEx-
  40.        poseEvent(3X11), XGravityEvent(3X11), XKeymapEvent(3X11),
  41.        XMapEvent(3X11), XMapRequestEvent(3X11), XProper-
  42.        tyEvent(3X11), XReparentEvent(3X11), XResiz-
  43.        eRequestEvent(3X11), XSelectionClearEvent(3X11), XSelec-
  44.        tionEvent(3X11), XSelectionRequestEvent(3X11), XUn-
  45.        mapEvent(3X11), XVisibilityEvent(3X11)
  46.        _X_l_i_b _- _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.