Query: dmxgetdesktopattributes
OS: bsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DMXDesktopAttributes(3) Library Functions Manual DMXDesktopAttributes(3)NAMEDMXGetDesktopAttributes - determine global bounding boxSYNOPSIS#include <X11/extensions/dmxext.h> Bool DMXGetDesktopAttributes(Display *dpy, DMXDesktopAttributes *attr);DESCRIPTIONDMXGetDesktopAttributes() returns information about the desktop in DMXDesktopAttributes: typedef struct { unsigned int width; unsigned int height; int shiftX; int shiftY; } DMXDesktopAttributes; The size of the global bounding box is given in width, and height. The shiftX and shiftY values will always be 0. The global bounding box is computed whether or not Xinerama is active, but it is only useful when using Xinerama. The global bounding box used by Xdmx(1) may be larger than the Xinerama screen size because of information in the configuration file.RETURN VALUEDMXGetDesktopAttributes() returns True unless there is a protocol error.SEE ALSODMXChangeDesktopAttributes(3), DMX(3), Xdmx(1) X Version 11 libdmx 1.1.2 DMXDesktopAttributes(3)