Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #512
Difficulty: Medium
PHP requires that all variables begin with a dollar sign, for example $flag.
True or False?
Linux & Unix Commands - Search Man Pages

xerrorevent(3) [linux man page]

XErrorEvent(3)							  XLIB FUNCTIONS						    XErrorEvent(3)

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 request_code member is a protocol request of the pro- cedure that failed, as defined in <X11/Xproto.h>. SEE ALSO
AllPlanes(3), XAnyEvent(3), XButtonEvent(3), XCreateWindowEvent(3), XCirculateEvent(3), XCirculateRequestEvent(3), XColormapEvent(3), XCon- figureEvent(3), XConfigureRequestEvent(3), XCrossingEvent(3), XDestroyWindowEvent(3), XExposeEvent(3), XFocusChangeEvent(3), XGraphicsEx- poseEvent(3), XGravityEvent(3), XKeymapEvent(3), XMapEvent(3), XMapRequestEvent(3), XPropertyEvent(3), XReparentEvent(3), XResiz- eRequestEvent(3), XSelectionClearEvent(3), XSelectionEvent(3), XSelectionRequestEvent(3), XUnmapEvent(3), XVisibilityEvent(3) Xlib - C Language X Interface X Version 11 libX11 1.5.0 XErrorEvent(3)

Check Out this Related Man Page

XSelectionClearEvent(3) 					  XLIB FUNCTIONS					   XSelectionClearEvent(3)

NAME
XSelectionClearEvent - SelectionClear event structure STRUCTURES
The structure for SelectionClear events contains: typedef struct { int type; /* SelectionClear */ unsigned long serial; /* # of last request processed by server */ Bool send_event; /* true if this came from a SendEvent request */ Display *display; /* Display the event was read from */ Window window; Atom selection; Time time; } XSelectionClearEvent; When you receive this event, the structure members are set as follows. The type member is set to the event type constant name that uniquely identifies it. For example, when the X server reports a GraphicsEx- pose event to a client application, it sends an XGraphicsExposeEvent structure with the type member set to GraphicsExpose. The display member is set to a pointer to the display the event was read on. The send_event member is set to True if the event came from a SendEvent protocol request. The serial member is set from the serial number reported in the protocol but expanded from the 16-bit least-significant bits to a full 32-bit value. The window member is set to the window that is most useful to toolkit dispatchers. The selection member is set to the selection atom. The time member is set to the last change time recorded for the selection. The window member is the window that was specified by the current owner (the owner losing the selection) in its XSetSelectionOwner call. SEE ALSO
XAnyEvent(3), XButtonEvent(3), XCreateWindowEvent(3), XCirculateEvent(3), XCirculateRequestEvent(3), XColormapEvent(3), XConfigureEvent(3), XConfigureRequestEvent(3), XCrossingEvent(3), XDestroyWindowEvent(3), XErrorEvent(3), XExposeEvent(3), XFocusChangeEvent(3), XGraphicsEx- poseEvent(3), XGravityEvent(3), XKeymapEvent(3), XMapEvent(3), XMapRequestEvent(3), XPropertyEvent(3), XReparentEvent(3), XResiz- eRequestEvent(3), XSelectionEvent(3), XSelectionRequestEvent(3), XSetSelectionOwner(3), XUnmapEvent(3), XVisibilityEvent(3) Xlib - C Language X Interface X Version 11 libX11 1.3.2 XSelectionClearEvent(3)

Featured Tech Videos