Page:Xlib - C Language X Interface.pdf/18

 screen, respectively. You can modify its contents freely because it is not used in any Xlib function.

This GC should never be freed.

Both return the root window for the default screen.

Both return a pointer to the default screen.

Both return a pointer to the indicated screen.

Both return the default screen number referenced by the XOpenDisplay function. This macro or function should be used to retrieve the screen number in applications that will use only a single screen.