Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dmxgetscreenattributes(3) [bsd man page]

DMXGetScreenAttributes(3)				     Library Functions Manual					 DMXGetScreenAttributes(3)

DMXGetScreenAttributes - determine back-end screen attributes SYNOPSIS
#include <X11/extensions/dmxext.h> Bool DMXGetScreenAttributes(Display *dpy, int screen, DMXScreenAttributes *attr); DESCRIPTION
DMXGetScreenAttributes() returns the attributes for the single DMX screen specified in screen. The DMXScreenAttributes structure is: typedef struct { char *displayName; int logicalScreen; unsigned int screenWindowWidth; unsigned int screenWindowHeight; int screenWindowXoffset; int screenWindowYoffset; unsigned int rootWindowWidth; unsigned int rootWindowHeight; int rootWindowXoffset; int rootWindowYoffset; int rootWindowXorigin; int rootWindowYorigin; } DMXScreenAttributes; displayName is the name used to open the display, either from the Xdmx(1) command-line or from the configuration file. logicalScreen is the value of the screen that that Xdmx(1) server exports to clients. When Xinerama is in use, this value is typically 0 for all values of physicalScreen. If Xinerama is in use, rootWindowXorigin and rootWindowYorigin specify where the physical screen is positioned in the global Xinerama coordinate system. Otherwise, these values are set to 0. screenWindowWidth, screenWindowHeight, screenWindowXoffset, and screenWindowYoffset are a geometry specification (see X(7x)) for the loca- tion of the DMX screen on the back-end screen. The coordinate system of the back-end display is used for these values. rootWindowWidth, rootWindowHeight, rootWindowXoffset, and rootWindowYoffset are a geometry specification (see X(7x)) for the location of the root window on the screen window. The coordinate system of the screen window is used. In most cases, the root window will have the same geometry as the DMX screen window, and will occupy the same area of the back-end display. (This would not be the case, for example, if automatic projector alignment is used.) RETURN VALUE
DMXGetScreenAttributes() returns True unless there is a protocol error. DMXGetScreenAttributes() can generate BadValue errors. SEE ALSO
DMXGetScreenCount(3), DMXChangeScreensAttributes(3), DMX(3), Xdmx(1) X Version 11 libdmx 1.1.2 DMXGetScreenAttributes(3)

Check Out this Related Man Page

DMXChangeScreensAttributes(3X)											    DMXChangeScreensAttributes(3X)

DMXChangeScreensAttributes - change back-end screen attributes SYNOPSIS
#include <X11/extensions/dmxext.h> int DMXChangeScreensAttributes(Display *dpy, int screen_count, int *screens, int mask_count, unsigned int *masks, DMXScreenAttributes *attr, int *error_screen); DESCRIPTION
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. RETURN VALUE
On success, 0 is returned. Otherwise, error_screen is set to the value of the first screen in the list that caused the error and a non- zero value is returned. If screen_count or mask_count is less than 1, or if any of the attribute values are not within the appropriate bounding boxes, DmxBadValue is returned. If a protocol error occurs, DmxBadReply is returned. DMXChangeScreensAttributes() can generate BadLength (if the data provided does not match the data implicitly required by the screen_count and mask_count values), BadValue (if the values in screens are not valid), and BadAlloc errors. SEE ALSO
DMXGetScreenCount(3X), DMXGetScreenAttributes(3X), DMX(3X), Xdmx(1) X Version 11 libdmx 1.0.2 DMXChangeScreensAttributes(3X)
Man Page