James Gettys, Robert W. Scheifler, et al.

Summary

James Gettys, Robert W. Scheifler, et al. Xlib - C Language X Interface…

In addition to the connection to the X server, an Xlib implementation may require connections to other kinds of servers (for example, to input method servers as described in chapter 13) . Toolkits and clients that use multiple displays, or that use displays in combination with other inputs, need to obtain these additional connections to correctly block until input is available and need to process that input when it is available. Simple clients that use a single display and block for input in an Xlib event function do not need to use these facilities.
Source: Wikisource

James Gettys, Robert W. Scheifler, et al. Xlib - C Language X Interface…

The X server does this even if the save-set window was not an inferior of a window created by the client. It destroys all windows created by the client. It performs the appropriate free request on each nonwindow resource created by the client in the server (for example, Font, Pixmap, Cursor, Colormap, and GContext) . It frees all colors and colormap entries allocated by a client application. Additional processing occurs when the last connection to the X server closes. An X server goes through a cycle of having no connections and having some connections.
Source: Wikisource

James Gettys, Robert W. Scheifler, et al. Xlib - C Language X Interface…

Single protocol requests to the server can be no larger than this size unless an extended-length protocol encoding is supported by the server. The protocol guarantees the size to be no smaller than 4096 units (16384 bytes) . Xlib automatically breaks data up into multiple protocol requests as necessary for the following functions: XDrawPoints, XDrawRectangles, XDrawSegments, XFillArcs, XFillRectangles, and XPutImage.
Both extract the full serial number of the last request known by Xlib to have been processed by the X server.
Source: Wikisource

Get perspective with Kwize: daily news enlightened by great literature