Distributed Multihead X
1.16.4
|
#include <X11/X.h>
#include <X11/Xproto.h>
#include "misc.h"
#include "os.h"
#include "dixstruct.h"
#include "extnsionst.h"
#include "extinit.h"
#include "opaque.h"
#include "dmxextension.h"
#include <X11/extensions/dmxproto.h>
#include <X11/extensions/dmx.h>
#include "protocol-versions.h"
Functions | |
static int | _DMXXineramaActive (void) |
static void | dmxSetScreenAttribute (int bit, DMXScreenAttributesPtr attr, CARD32 value) |
static int | dmxFetchScreenAttributes (unsigned int mask, DMXScreenAttributesPtr attr, CARD32 *value_list) |
static void | dmxSetDesktopAttribute (int bit, DMXDesktopAttributesPtr attr, CARD32 value) |
static int | dmxFetchDesktopAttributes (unsigned int mask, DMXDesktopAttributesPtr attr, CARD32 *value_list) |
static void | dmxSetInputAttribute (int bit, DMXInputAttributesPtr attr, CARD32 value) |
static int | dmxFetchInputAttributes (unsigned int mask, DMXInputAttributesPtr attr, CARD32 *value_list) |
static int | ProcDMXQueryVersion (ClientPtr client) |
static int | ProcDMXSync (ClientPtr client) |
static int | ProcDMXForceWindowCreation (ClientPtr client) |
static int | ProcDMXGetScreenCount (ClientPtr client) |
static int | ProcDMXGetScreenAttributes (ClientPtr client) |
static int | ProcDMXChangeScreensAttributes (ClientPtr client) |
static int | ProcDMXAddScreen (ClientPtr client) |
static int | ProcDMXRemoveScreen (ClientPtr client) |
static int | dmxPopulate (ClientPtr client, Window window, CARD32 *screens, CARD32 *windows, xRectangle *pos, xRectangle *vis) |
static int | dmxMaxNumScreens (void) |
static int | ProcDMXGetWindowAttributes (ClientPtr client) |
static int | ProcDMXGetDesktopAttributes (ClientPtr client) |
static int | ProcDMXChangeDesktopAttributes (ClientPtr client) |
static int | ProcDMXGetInputCount (ClientPtr client) |
static int | ProcDMXGetInputAttributes (ClientPtr client) |
static int | ProcDMXAddInput (ClientPtr client) |
static int | ProcDMXRemoveInput (ClientPtr client) |
static int | ProcDMXDispatch (ClientPtr client) |
static int | SProcDMXQueryVersion (ClientPtr client) |
static int | SProcDMXSync (ClientPtr client) |
static int | SProcDMXForceWindowCreation (ClientPtr client) |
static int | SProcDMXGetScreenCount (ClientPtr client) |
static int | SProcDMXGetScreenAttributes (ClientPtr client) |
static int | SProcDMXChangeScreensAttributes (ClientPtr client) |
static int | SProcDMXAddScreen (ClientPtr client) |
static int | SProcDMXRemoveScreen (ClientPtr client) |
static int | SProcDMXGetWindowAttributes (ClientPtr client) |
static int | SProcDMXGetDesktopAttributes (ClientPtr client) |
static int | SProcDMXChangeDesktopAttributes (ClientPtr client) |
static int | SProcDMXGetInputCount (ClientPtr client) |
static int | SProcDMXGetInputAttributes (ClientPtr client) |
static int | SProcDMXAddInput (ClientPtr client) |
static int | SProcDMXRemoveInput (ClientPtr client) |
static int | SProcDMXDispatch (ClientPtr client) |
void | DMXExtensionInit (void) |
Variables | |
static unsigned char | DMXCode |
This file implements the server-side part of the DMX protocol. A vector of fucntions is provided at extension initialization time, so most all of the useful functions in this file are declared static and do not appear in the doxygen documentation.
Much of the low-level work is done by functions in dmxextension.c
Please see the Client-to-Server DMX Extension to the X Protocol document for details about the protocol.
|
static |
Referenced by ProcDMXChangeDesktopAttributes(), and ProcDMXChangeScreensAttributes().
void DMXExtensionInit | ( | void | ) |
Initialize the extension.
References DMXCode, ProcDMXDispatch(), and SProcDMXDispatch().
Referenced by dmxAddExtensions().
|
static |
References dmxSetDesktopAttribute().
Referenced by ProcDMXChangeDesktopAttributes().
|
static |
References dmxSetInputAttribute().
Referenced by ProcDMXAddInput().
|
static |
References dmxSetScreenAttribute().
Referenced by ProcDMXAddScreen(), and ProcDMXChangeScreensAttributes().
|
static |
Referenced by ProcDMXGetWindowAttributes().
|
static |
|
static |
References DMXDesktopAttributesRec::height, DMXDesktopAttributesRec::shiftX, DMXDesktopAttributesRec::shiftY, and DMXDesktopAttributesRec::width.
Referenced by dmxFetchDesktopAttributes().
|
static |
References DMXInputAttributesRec::inputType, DMXInputAttributesRec::physicalScreen, and DMXInputAttributesRec::sendsCore.
Referenced by dmxFetchInputAttributes().
|
static |
References DMXScreenAttributesRec::rootWindowHeight, DMXScreenAttributesRec::rootWindowWidth, DMXScreenAttributesRec::rootWindowXoffset, DMXScreenAttributesRec::rootWindowXorigin, DMXScreenAttributesRec::rootWindowYoffset, DMXScreenAttributesRec::rootWindowYorigin, DMXScreenAttributesRec::screenWindowHeight, DMXScreenAttributesRec::screenWindowWidth, DMXScreenAttributesRec::screenWindowXoffset, and DMXScreenAttributesRec::screenWindowYoffset.
Referenced by dmxFetchScreenAttributes().
|
static |
References dmxAddInput(), dmxFetchInputAttributes(), and DMXInputAttributesRec::name.
Referenced by ProcDMXDispatch(), and SProcDMXAddInput().
|
static |
References DMXScreenAttributesRec::displayName, dmxAttachScreen(), dmxFetchScreenAttributes(), and dmxGetScreenAttributes().
Referenced by ProcDMXDispatch(), and SProcDMXAddScreen().
|
static |
References _DMXXineramaActive(), dmxConfigureDesktop(), dmxFetchDesktopAttributes(), and dmxGetDesktopAttributes().
Referenced by ProcDMXDispatch(), and SProcDMXChangeDesktopAttributes().
|
static |
References _DMXXineramaActive(), dmxConfigureScreenWindows(), dmxFetchScreenAttributes(), and dmxGetScreenAttributes().
Referenced by ProcDMXDispatch().
|
static |
References ProcDMXAddInput(), ProcDMXAddScreen(), ProcDMXChangeDesktopAttributes(), ProcDMXChangeScreensAttributes(), ProcDMXForceWindowCreation(), ProcDMXGetDesktopAttributes(), ProcDMXGetInputAttributes(), ProcDMXGetInputCount(), ProcDMXGetScreenAttributes(), ProcDMXGetScreenCount(), ProcDMXGetWindowAttributes(), ProcDMXQueryVersion(), ProcDMXRemoveInput(), ProcDMXRemoveScreen(), and ProcDMXSync().
Referenced by DMXExtensionInit().
|
static |
References dmxFlushPendingSyncs(), and dmxForceWindowCreation().
Referenced by ProcDMXDispatch(), and SProcDMXForceWindowCreation().
|
static |
|
static |
References DMXInputAttributesRec::detached, dmxGetInputAttributes(), DMXInputAttributesRec::inputType, DMXInputAttributesRec::isCore, DMXInputAttributesRec::name, DMXInputAttributesRec::physicalId, DMXInputAttributesRec::physicalScreen, and DMXInputAttributesRec::sendsCore.
Referenced by ProcDMXDispatch(), and SProcDMXGetInputAttributes().
|
static |
References dmxGetInputCount().
Referenced by ProcDMXDispatch(), and SProcDMXGetInputCount().
|
static |
References DMXScreenAttributesRec::displayName, dmxGetNumScreens(), dmxGetScreenAttributes(), DMXScreenAttributesRec::logicalScreen, DMXScreenAttributesRec::rootWindowHeight, DMXScreenAttributesRec::rootWindowWidth, DMXScreenAttributesRec::rootWindowXoffset, DMXScreenAttributesRec::rootWindowXorigin, DMXScreenAttributesRec::rootWindowYoffset, DMXScreenAttributesRec::rootWindowYorigin, DMXScreenAttributesRec::screenWindowHeight, DMXScreenAttributesRec::screenWindowWidth, DMXScreenAttributesRec::screenWindowXoffset, and DMXScreenAttributesRec::screenWindowYoffset.
Referenced by ProcDMXDispatch(), SProcDMXChangeScreensAttributes(), and SProcDMXGetScreenAttributes().
|
static |
References dmxGetNumScreens().
Referenced by ProcDMXDispatch(), and SProcDMXGetScreenCount().
|
static |
References dmxFlushPendingSyncs(), dmxMaxNumScreens(), dmxPopulate(), and pos.
Referenced by ProcDMXDispatch(), and SProcDMXGetWindowAttributes().
|
static |
Referenced by ProcDMXDispatch(), and SProcDMXQueryVersion().
|
static |
References dmxRemoveInput().
Referenced by ProcDMXDispatch(), and SProcDMXRemoveInput().
|
static |
References dmxDetachScreen().
Referenced by ProcDMXDispatch(), and SProcDMXRemoveScreen().
|
static |
References dmxFlushPendingSyncs().
Referenced by ProcDMXDispatch(), and SProcDMXSync().
|
static |
References ProcDMXAddInput().
Referenced by SProcDMXDispatch().
|
static |
References ProcDMXAddScreen().
Referenced by SProcDMXDispatch().
|
static |
References ProcDMXChangeDesktopAttributes().
Referenced by SProcDMXDispatch().
|
static |
References ProcDMXGetScreenAttributes().
Referenced by SProcDMXDispatch().
|
static |
References SProcDMXAddInput(), SProcDMXAddScreen(), SProcDMXChangeDesktopAttributes(), SProcDMXChangeScreensAttributes(), SProcDMXForceWindowCreation(), SProcDMXGetDesktopAttributes(), SProcDMXGetInputAttributes(), SProcDMXGetInputCount(), SProcDMXGetScreenAttributes(), SProcDMXGetScreenCount(), SProcDMXGetWindowAttributes(), SProcDMXQueryVersion(), SProcDMXRemoveInput(), SProcDMXRemoveScreen(), and SProcDMXSync().
Referenced by DMXExtensionInit().
|
static |
References ProcDMXForceWindowCreation().
Referenced by SProcDMXDispatch().
|
static |
References ProcDMXGetDesktopAttributes().
Referenced by SProcDMXDispatch().
|
static |
References ProcDMXGetInputAttributes().
Referenced by SProcDMXDispatch().
|
static |
References ProcDMXGetInputCount().
Referenced by SProcDMXDispatch().
|
static |
References ProcDMXGetScreenAttributes().
Referenced by SProcDMXDispatch().
|
static |
References ProcDMXGetScreenCount().
Referenced by SProcDMXDispatch().
|
static |
References ProcDMXGetWindowAttributes().
Referenced by SProcDMXDispatch().
|
static |
References ProcDMXQueryVersion().
Referenced by SProcDMXDispatch().
|
static |
References ProcDMXRemoveInput().
Referenced by SProcDMXDispatch().
|
static |
References ProcDMXRemoveScreen().
Referenced by SProcDMXDispatch().
|
static |
References ProcDMXSync().
Referenced by SProcDMXDispatch().
|
static |
Referenced by DMXExtensionInit().