The
XFlush()
function
flushes the output buffer.
Most client applications need not use this function because the output
buffer is automatically flushed as needed by calls to
XPending(),
XNextEvent(),
and
XWindowEvent().
Events generated by the server may be enqueued into the library's event queue.