MirOS Manual: DMXGetScreenAttributes(3)


DMXGetScreenAttributeUNIX)Programmer's DMXGetScreenAttributes(3X)

NAME

     DMXGetScreenAttributes - determine back-end screen attri-
     butes

SYNOPSIS

     #include <X11/extensions/dmxext.h>

     Bool DMXGetScreenAttributes(Display *dpy,
                                 int screen,
                                 DMXScreenAttributes *attr);

DESCRIPTION

     DMXGetScreenAttributes() returns the attributes for the sin-
     gle 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 glo-
     bal Xinerama coordinate system.  Otherwise, these values are
     set to 0.

     screenWindowWidth, screenWindowHeight, screenWindowXoffset,
     and screenWindowYoffset are a geometry specification (see
     X(7x)) for the location of the DMX screen on the back-end
     screen.  The coordinant system of the back-end display is
     used for these values.

XFree86                   Version 4.5.0                         1

DMXGetScreenAttributeUNIX)Programmer's DMXGetScreenAttributes(3X)

     rootWindowWidth, rootWindowHeight, rootWindowXoffset, and
     rootWindowYoffset are a geometry specification (see X(7x))
     for the location of the root window on the screen window.
     The coordinant 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 pro-
     tocol error.

     DMXGetScreenAttributes() can generate BadValue errors.

SEE ALSO

     DMXGetScreenCount(3X), DMXChangeScreenAttributes(3X),
     DMX(3X), Xdmx(1)

XFree86                   Version 4.5.0                         2

Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.