XQLength()XQLength()Name
XQLength, QLength - return the number of events on the queue.
Synopsis
int XQLength(display)
Display *display;
Arguments
display Specifies a connection to an X server; returned from
XOpenDisplay().
Returns
The number of events on the queue.
DescriptionXQLength() returns the number of events currently on the queue for the
connected display. Note that there may be more events that have not
yet been read into the queue (see XEventsQueued()).
The C language macro QLength() is equivalent and slightly more effi‐
cient.
See AlsoXEventsQueued(), XPending(), XPeekEvent().
Xlib - Macro Equivalents XQLength()