XDisplayPlanes()XDisplayPlanes()Name
XDisplayPlanes, DisplayPlanes – get number of planes of specified
screen.
Synopsis
int XDisplayPlanes(display, screen_number)
Display *display;
int screen_number;
Arguments
display Specifies a connection to an X server; returned from
XOpenDisplay().
screen_number
Specifies the appropriate screen number on the host server.
Returns
The number of planes.
DescriptionXDisplayPlanes() returns the depth (number of planes or number of bits
per pixel) of the root window of the specified screen.
The C language macro DisplayPlanes() is equivalent and slightly more
efficient.
This function is misnamed; it should really be XScreenPlanes().
See Also
XDefaultDepth*(), XDefaultDepthOfScreen().
Xlib - Macro Equivalents XDisplayPlanes()