DMXGetDesktopAttributes (3)
Leading comments
Copyright 2004 Red Hat Inc., Durham, North Carolina. All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation on the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the followin...
NAME
DMXGetDesktopAttributes - determine global bounding boxSYNOPSIS
#include <X11/extensions/dmxext.h>
Bool DMXGetDesktopAttributes(Display *dpy, DMXDesktopAttributes *attr);
DESCRIPTION
DMXGetDesktopAttributes() 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.