NAME
XDisplayPlanes, DisplayPlanes − get number of planes of specified screen.
Synopsis
int XDisplayPlanes(display, screen_number)
Display *display;
int screen_number;
Arguments
displaySpecifies a connection to an X server; returned from XOpenDisplay().
screen_number
Specifies the appropriate screen number on the host server.
Description
XDisplayPlanes() 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().
Copyright O’Reilly & Assoc. —