James Gettys, Robert W. Scheifler, et al.

Summary

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

An application may wish to create a window long before it is mapped to the screen. When a window is eventually mapped to the screen (using XMapWindow) , the X server generates an Expose event for the window if backing store has not been maintained.
A window manager can override your choice of size, border width, and position for a top-level window. Your program must be prepared to use the actual size and position of the top window. It is not acceptable for a client application to resize itself unless in direct response to a human command to do so.
Source: Wikisource

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

You should only attempt to resize or move top-level windows in direct response to a user request. If a request to change the size of a top-level window fails, you must be prepared to live with what you get. You are free to resize or move the children of top-level windows as necessary. (Toolkits often have facilities for automatic relayout.) If you do not use a toolkit that automatically sets standard window properties, you should set these properties for top-level windows before mapping them.
Source: Wikisource

Get perspective with Kwize: daily news enlightened by great literature