DMXChangeScreensAttributes() changes the geometries and positions of the DMX screen and DMX root windows on the back-end X servers.
screen_count specifies the number of screens to be changed. For each screen, the screen number is placed in
screens, an attribute mask is placed in
masks, and a
DMXScreenAttributes structure is included in
attr.An explanation of the DMXScreenAttributes structure is given in DMXGetScreenAttributes(3X).
The values that are used to compute each value in
masks are as follows
DMXScreenWindowWidth
DMXScreenWindowHeight
DMXScreenWindowXoffset
DMXScreenWindowYoffset
DMXRootWindowWidth
DMXRootWindowHeight
DMXRootWindowXoffset
DMXRootWindowYoffset
DMXRootWindowXorigin
DMXRootWindowYorigin
In general, mask_count should be equal to screen_count. However, as a convenience, mask_count may be less than screen_count, and the last entry in masks will then be used for all of the remaining screens. For example, this allows identical changes to be made to several screens using only one mask.