Screen Attributes

Screen attributes include:


black_pixel(V)
Pixel value for black on this screen. An integer.
white_pixel(V)
Pixel value for white on this screen. An integer.
cells(N)
Number of entries in default color map.
colormap(C)
The default color map for this screen.
depth(D)
Number of planes for default root window.
default_visual(V)
Default way pixel values are shown on this screen. See the documentation of visuals in pxl-col-vis.
visual(V)
A possible way pixel values can be shown on this screen. Multiple results are possible, one of which will be the default_visual.
does_backing_store(V)
Is this screen capable of saving the obscured part of windows so applications don't have to repaint them when they become exposed? Possible values are when_mapped, not_useful, or always.
does_save_unders(B)
Is this screen capable of saving whatever is hidden by a window so when the window is unmapped, the exposed area need not be repainted? Possible values are true or false.
display(D)
The display of this screen.
planes(N)
Number of bits/pixel in root window.
width(W)
Width of screen, in pixels.
width_mm(W)V
Width of screen, in millimeters.
height(H)
Height of screen, in pixels.
height_mm(H)
Height of screen, in millimeters.
size(W, H)
Width and height of screen, in pixels.
size_mm(W, H)
Width and height of screen in millimeters.
root(V)
Root window of this screen.
screen_number(N)
The number of this screen on its display.