dispatch: Mark swapped dispatch as _X_COLD
This touches everything that ends up in the Xorg binary; the big missing part is GLX since that's all generated code. Cuts about 14k from the binary on amd64. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
8c9909a992
commit
dc7ceda90f
18
Xext/dpms.c
18
Xext/dpms.c
|
@ -234,7 +234,7 @@ ProcDPMSDispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDPMSGetVersion(ClientPtr client)
|
SProcDPMSGetVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDPMSGetVersionReq);
|
REQUEST(xDPMSGetVersionReq);
|
||||||
|
@ -246,7 +246,7 @@ SProcDPMSGetVersion(ClientPtr client)
|
||||||
return ProcDPMSGetVersion(client);
|
return ProcDPMSGetVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDPMSCapable(ClientPtr client)
|
SProcDPMSCapable(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDPMSCapableReq);
|
REQUEST(xDPMSCapableReq);
|
||||||
|
@ -257,7 +257,7 @@ SProcDPMSCapable(ClientPtr client)
|
||||||
return ProcDPMSCapable(client);
|
return ProcDPMSCapable(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDPMSGetTimeouts(ClientPtr client)
|
SProcDPMSGetTimeouts(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDPMSGetTimeoutsReq);
|
REQUEST(xDPMSGetTimeoutsReq);
|
||||||
|
@ -268,7 +268,7 @@ SProcDPMSGetTimeouts(ClientPtr client)
|
||||||
return ProcDPMSGetTimeouts(client);
|
return ProcDPMSGetTimeouts(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDPMSSetTimeouts(ClientPtr client)
|
SProcDPMSSetTimeouts(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDPMSSetTimeoutsReq);
|
REQUEST(xDPMSSetTimeoutsReq);
|
||||||
|
@ -282,7 +282,7 @@ SProcDPMSSetTimeouts(ClientPtr client)
|
||||||
return ProcDPMSSetTimeouts(client);
|
return ProcDPMSSetTimeouts(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDPMSEnable(ClientPtr client)
|
SProcDPMSEnable(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDPMSEnableReq);
|
REQUEST(xDPMSEnableReq);
|
||||||
|
@ -293,7 +293,7 @@ SProcDPMSEnable(ClientPtr client)
|
||||||
return ProcDPMSEnable(client);
|
return ProcDPMSEnable(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDPMSDisable(ClientPtr client)
|
SProcDPMSDisable(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDPMSDisableReq);
|
REQUEST(xDPMSDisableReq);
|
||||||
|
@ -304,7 +304,7 @@ SProcDPMSDisable(ClientPtr client)
|
||||||
return ProcDPMSDisable(client);
|
return ProcDPMSDisable(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDPMSForceLevel(ClientPtr client)
|
SProcDPMSForceLevel(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDPMSForceLevelReq);
|
REQUEST(xDPMSForceLevelReq);
|
||||||
|
@ -317,7 +317,7 @@ SProcDPMSForceLevel(ClientPtr client)
|
||||||
return ProcDPMSForceLevel(client);
|
return ProcDPMSForceLevel(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDPMSInfo(ClientPtr client)
|
SProcDPMSInfo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDPMSInfoReq);
|
REQUEST(xDPMSInfoReq);
|
||||||
|
@ -328,7 +328,7 @@ SProcDPMSInfo(ClientPtr client)
|
||||||
return ProcDPMSInfo(client);
|
return ProcDPMSInfo(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDPMSDispatch(ClientPtr client)
|
SProcDPMSDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -98,7 +98,7 @@ static int (*ProcGEVector[GENumberRequests]) (ClientPtr) = {
|
||||||
/************************************************************/
|
/************************************************************/
|
||||||
/* swapped request handlers */
|
/* swapped request handlers */
|
||||||
/************************************************************/
|
/************************************************************/
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcGEQueryVersion(ClientPtr client)
|
SProcGEQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGEQueryVersionReq);
|
REQUEST(xGEQueryVersionReq);
|
||||||
|
@ -136,7 +136,7 @@ ProcGEDispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* dispatch swapped requests */
|
/* dispatch swapped requests */
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcGEDispatch(ClientPtr client)
|
SProcGEDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGEReq);
|
REQUEST(xGEReq);
|
||||||
|
@ -159,7 +159,7 @@ GEResetProc(ExtensionEntry * extEntry)
|
||||||
* written on the wire, this one calls the registered swap function to do the
|
* written on the wire, this one calls the registered swap function to do the
|
||||||
* work.
|
* work.
|
||||||
*/
|
*/
|
||||||
static void
|
static void _X_COLD
|
||||||
SGEGenericEvent(xEvent *from, xEvent *to)
|
SGEGenericEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
xGenericEvent *gefrom = (xGenericEvent *) from;
|
xGenericEvent *gefrom = (xGenericEvent *) from;
|
||||||
|
|
|
@ -47,7 +47,7 @@ Equipment Corporation.
|
||||||
#include "globals.h"
|
#include "globals.h"
|
||||||
#include "panoramiXh.h"
|
#include "panoramiXh.h"
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcPanoramiXQueryVersion(ClientPtr client)
|
SProcPanoramiXQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPanoramiXQueryVersionReq);
|
REQUEST(xPanoramiXQueryVersionReq);
|
||||||
|
@ -57,7 +57,7 @@ SProcPanoramiXQueryVersion(ClientPtr client)
|
||||||
return ProcPanoramiXQueryVersion(client);
|
return ProcPanoramiXQueryVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcPanoramiXGetState(ClientPtr client)
|
SProcPanoramiXGetState(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPanoramiXGetStateReq);
|
REQUEST(xPanoramiXGetStateReq);
|
||||||
|
@ -68,7 +68,7 @@ SProcPanoramiXGetState(ClientPtr client)
|
||||||
return ProcPanoramiXGetState(client);
|
return ProcPanoramiXGetState(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcPanoramiXGetScreenCount(ClientPtr client)
|
SProcPanoramiXGetScreenCount(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPanoramiXGetScreenCountReq);
|
REQUEST(xPanoramiXGetScreenCountReq);
|
||||||
|
@ -79,7 +79,7 @@ SProcPanoramiXGetScreenCount(ClientPtr client)
|
||||||
return ProcPanoramiXGetScreenCount(client);
|
return ProcPanoramiXGetScreenCount(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcPanoramiXGetScreenSize(ClientPtr client)
|
SProcPanoramiXGetScreenSize(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPanoramiXGetScreenSizeReq);
|
REQUEST(xPanoramiXGetScreenSizeReq);
|
||||||
|
@ -91,7 +91,7 @@ SProcPanoramiXGetScreenSize(ClientPtr client)
|
||||||
return ProcPanoramiXGetScreenSize(client);
|
return ProcPanoramiXGetScreenSize(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXineramaIsActive(ClientPtr client)
|
SProcXineramaIsActive(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXineramaIsActiveReq);
|
REQUEST(xXineramaIsActiveReq);
|
||||||
|
@ -101,7 +101,7 @@ SProcXineramaIsActive(ClientPtr client)
|
||||||
return ProcXineramaIsActive(client);
|
return ProcXineramaIsActive(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXineramaQueryScreens(ClientPtr client)
|
SProcXineramaQueryScreens(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXineramaQueryScreensReq);
|
REQUEST(xXineramaQueryScreensReq);
|
||||||
|
@ -111,7 +111,7 @@ SProcXineramaQueryScreens(ClientPtr client)
|
||||||
return ProcXineramaQueryScreens(client);
|
return ProcXineramaQueryScreens(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcPanoramiXDispatch(ClientPtr client)
|
SProcPanoramiXDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
16
Xext/saver.c
16
Xext/saver.c
|
@ -426,7 +426,7 @@ SendScreenSaverNotify(ScreenPtr pScreen, int state, Bool forced)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SScreenSaverNotifyEvent(xScreenSaverNotifyEvent * from,
|
SScreenSaverNotifyEvent(xScreenSaverNotifyEvent * from,
|
||||||
xScreenSaverNotifyEvent * to)
|
xScreenSaverNotifyEvent * to)
|
||||||
{
|
{
|
||||||
|
@ -1277,7 +1277,7 @@ ProcScreenSaverDispatch(ClientPtr client)
|
||||||
return BadRequest;
|
return BadRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcScreenSaverQueryVersion(ClientPtr client)
|
SProcScreenSaverQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xScreenSaverQueryVersionReq);
|
REQUEST(xScreenSaverQueryVersionReq);
|
||||||
|
@ -1286,7 +1286,7 @@ SProcScreenSaverQueryVersion(ClientPtr client)
|
||||||
return ProcScreenSaverQueryVersion(client);
|
return ProcScreenSaverQueryVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcScreenSaverQueryInfo(ClientPtr client)
|
SProcScreenSaverQueryInfo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xScreenSaverQueryInfoReq);
|
REQUEST(xScreenSaverQueryInfoReq);
|
||||||
|
@ -1296,7 +1296,7 @@ SProcScreenSaverQueryInfo(ClientPtr client)
|
||||||
return ProcScreenSaverQueryInfo(client);
|
return ProcScreenSaverQueryInfo(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcScreenSaverSelectInput(ClientPtr client)
|
SProcScreenSaverSelectInput(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xScreenSaverSelectInputReq);
|
REQUEST(xScreenSaverSelectInputReq);
|
||||||
|
@ -1307,7 +1307,7 @@ SProcScreenSaverSelectInput(ClientPtr client)
|
||||||
return ProcScreenSaverSelectInput(client);
|
return ProcScreenSaverSelectInput(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcScreenSaverSetAttributes(ClientPtr client)
|
SProcScreenSaverSetAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xScreenSaverSetAttributesReq);
|
REQUEST(xScreenSaverSetAttributesReq);
|
||||||
|
@ -1325,7 +1325,7 @@ SProcScreenSaverSetAttributes(ClientPtr client)
|
||||||
return ProcScreenSaverSetAttributes(client);
|
return ProcScreenSaverSetAttributes(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcScreenSaverUnsetAttributes(ClientPtr client)
|
SProcScreenSaverUnsetAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xScreenSaverUnsetAttributesReq);
|
REQUEST(xScreenSaverUnsetAttributesReq);
|
||||||
|
@ -1335,7 +1335,7 @@ SProcScreenSaverUnsetAttributes(ClientPtr client)
|
||||||
return ProcScreenSaverUnsetAttributes(client);
|
return ProcScreenSaverUnsetAttributes(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcScreenSaverSuspend(ClientPtr client)
|
SProcScreenSaverSuspend(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xScreenSaverSuspendReq);
|
REQUEST(xScreenSaverSuspendReq);
|
||||||
|
@ -1352,7 +1352,7 @@ SProcScreenSaverQueryVersion,
|
||||||
SProcScreenSaverSetAttributes,
|
SProcScreenSaverSetAttributes,
|
||||||
SProcScreenSaverUnsetAttributes, SProcScreenSaverSuspend,};
|
SProcScreenSaverUnsetAttributes, SProcScreenSaverSuspend,};
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcScreenSaverDispatch(ClientPtr client)
|
SProcScreenSaverDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -601,7 +601,7 @@ ProcSecurityDispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
} /* ProcSecurityDispatch */
|
} /* ProcSecurityDispatch */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSecurityQueryVersion(ClientPtr client)
|
SProcSecurityQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSecurityQueryVersionReq);
|
REQUEST(xSecurityQueryVersionReq);
|
||||||
|
@ -613,7 +613,7 @@ SProcSecurityQueryVersion(ClientPtr client)
|
||||||
return ProcSecurityQueryVersion(client);
|
return ProcSecurityQueryVersion(client);
|
||||||
} /* SProcSecurityQueryVersion */
|
} /* SProcSecurityQueryVersion */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSecurityGenerateAuthorization(ClientPtr client)
|
SProcSecurityGenerateAuthorization(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSecurityGenerateAuthorizationReq);
|
REQUEST(xSecurityGenerateAuthorizationReq);
|
||||||
|
@ -637,7 +637,7 @@ SProcSecurityGenerateAuthorization(ClientPtr client)
|
||||||
return ProcSecurityGenerateAuthorization(client);
|
return ProcSecurityGenerateAuthorization(client);
|
||||||
} /* SProcSecurityGenerateAuthorization */
|
} /* SProcSecurityGenerateAuthorization */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSecurityRevokeAuthorization(ClientPtr client)
|
SProcSecurityRevokeAuthorization(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSecurityRevokeAuthorizationReq);
|
REQUEST(xSecurityRevokeAuthorizationReq);
|
||||||
|
@ -648,7 +648,7 @@ SProcSecurityRevokeAuthorization(ClientPtr client)
|
||||||
return ProcSecurityRevokeAuthorization(client);
|
return ProcSecurityRevokeAuthorization(client);
|
||||||
} /* SProcSecurityRevokeAuthorization */
|
} /* SProcSecurityRevokeAuthorization */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSecurityDispatch(ClientPtr client)
|
SProcSecurityDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
@ -665,7 +665,7 @@ SProcSecurityDispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
} /* SProcSecurityDispatch */
|
} /* SProcSecurityDispatch */
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SwapSecurityAuthorizationRevokedEvent(xSecurityAuthorizationRevokedEvent * from,
|
SwapSecurityAuthorizationRevokedEvent(xSecurityAuthorizationRevokedEvent * from,
|
||||||
xSecurityAuthorizationRevokedEvent * to)
|
xSecurityAuthorizationRevokedEvent * to)
|
||||||
{
|
{
|
||||||
|
|
22
Xext/shape.c
22
Xext/shape.c
|
@ -1074,7 +1074,7 @@ ProcShapeDispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SShapeNotifyEvent(xShapeNotifyEvent * from, xShapeNotifyEvent * to)
|
SShapeNotifyEvent(xShapeNotifyEvent * from, xShapeNotifyEvent * to)
|
||||||
{
|
{
|
||||||
to->type = from->type;
|
to->type = from->type;
|
||||||
|
@ -1089,7 +1089,7 @@ SShapeNotifyEvent(xShapeNotifyEvent * from, xShapeNotifyEvent * to)
|
||||||
to->shaped = from->shaped;
|
to->shaped = from->shaped;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShapeQueryVersion(ClientPtr client)
|
SProcShapeQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShapeQueryVersionReq);
|
REQUEST(xShapeQueryVersionReq);
|
||||||
|
@ -1098,7 +1098,7 @@ SProcShapeQueryVersion(ClientPtr client)
|
||||||
return ProcShapeQueryVersion(client);
|
return ProcShapeQueryVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShapeRectangles(ClientPtr client)
|
SProcShapeRectangles(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShapeRectanglesReq);
|
REQUEST(xShapeRectanglesReq);
|
||||||
|
@ -1112,7 +1112,7 @@ SProcShapeRectangles(ClientPtr client)
|
||||||
return ProcShapeRectangles(client);
|
return ProcShapeRectangles(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShapeMask(ClientPtr client)
|
SProcShapeMask(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShapeMaskReq);
|
REQUEST(xShapeMaskReq);
|
||||||
|
@ -1126,7 +1126,7 @@ SProcShapeMask(ClientPtr client)
|
||||||
return ProcShapeMask(client);
|
return ProcShapeMask(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShapeCombine(ClientPtr client)
|
SProcShapeCombine(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShapeCombineReq);
|
REQUEST(xShapeCombineReq);
|
||||||
|
@ -1140,7 +1140,7 @@ SProcShapeCombine(ClientPtr client)
|
||||||
return ProcShapeCombine(client);
|
return ProcShapeCombine(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShapeOffset(ClientPtr client)
|
SProcShapeOffset(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShapeOffsetReq);
|
REQUEST(xShapeOffsetReq);
|
||||||
|
@ -1153,7 +1153,7 @@ SProcShapeOffset(ClientPtr client)
|
||||||
return ProcShapeOffset(client);
|
return ProcShapeOffset(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShapeQueryExtents(ClientPtr client)
|
SProcShapeQueryExtents(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShapeQueryExtentsReq);
|
REQUEST(xShapeQueryExtentsReq);
|
||||||
|
@ -1164,7 +1164,7 @@ SProcShapeQueryExtents(ClientPtr client)
|
||||||
return ProcShapeQueryExtents(client);
|
return ProcShapeQueryExtents(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShapeSelectInput(ClientPtr client)
|
SProcShapeSelectInput(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShapeSelectInputReq);
|
REQUEST(xShapeSelectInputReq);
|
||||||
|
@ -1175,7 +1175,7 @@ SProcShapeSelectInput(ClientPtr client)
|
||||||
return ProcShapeSelectInput(client);
|
return ProcShapeSelectInput(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShapeInputSelected(ClientPtr client)
|
SProcShapeInputSelected(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShapeInputSelectedReq);
|
REQUEST(xShapeInputSelectedReq);
|
||||||
|
@ -1186,7 +1186,7 @@ SProcShapeInputSelected(ClientPtr client)
|
||||||
return ProcShapeInputSelected(client);
|
return ProcShapeInputSelected(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShapeGetRectangles(ClientPtr client)
|
SProcShapeGetRectangles(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShapeGetRectanglesReq);
|
REQUEST(xShapeGetRectanglesReq);
|
||||||
|
@ -1196,7 +1196,7 @@ SProcShapeGetRectangles(ClientPtr client)
|
||||||
return ProcShapeGetRectangles(client);
|
return ProcShapeGetRectangles(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShapeDispatch(ClientPtr client)
|
SProcShapeDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
20
Xext/shm.c
20
Xext/shm.c
|
@ -1336,7 +1336,7 @@ ProcShmDispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SShmCompletionEvent(xShmCompletionEvent * from, xShmCompletionEvent * to)
|
SShmCompletionEvent(xShmCompletionEvent * from, xShmCompletionEvent * to)
|
||||||
{
|
{
|
||||||
to->type = from->type;
|
to->type = from->type;
|
||||||
|
@ -1348,7 +1348,7 @@ SShmCompletionEvent(xShmCompletionEvent * from, xShmCompletionEvent * to)
|
||||||
cpswapl(from->offset, to->offset);
|
cpswapl(from->offset, to->offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShmQueryVersion(ClientPtr client)
|
SProcShmQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShmQueryVersionReq);
|
REQUEST(xShmQueryVersionReq);
|
||||||
|
@ -1357,7 +1357,7 @@ SProcShmQueryVersion(ClientPtr client)
|
||||||
return ProcShmQueryVersion(client);
|
return ProcShmQueryVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShmAttach(ClientPtr client)
|
SProcShmAttach(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShmAttachReq);
|
REQUEST(xShmAttachReq);
|
||||||
|
@ -1368,7 +1368,7 @@ SProcShmAttach(ClientPtr client)
|
||||||
return ProcShmAttach(client);
|
return ProcShmAttach(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShmDetach(ClientPtr client)
|
SProcShmDetach(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShmDetachReq);
|
REQUEST(xShmDetachReq);
|
||||||
|
@ -1378,7 +1378,7 @@ SProcShmDetach(ClientPtr client)
|
||||||
return ProcShmDetach(client);
|
return ProcShmDetach(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShmPutImage(ClientPtr client)
|
SProcShmPutImage(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShmPutImageReq);
|
REQUEST(xShmPutImageReq);
|
||||||
|
@ -1399,7 +1399,7 @@ SProcShmPutImage(ClientPtr client)
|
||||||
return ProcShmPutImage(client);
|
return ProcShmPutImage(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShmGetImage(ClientPtr client)
|
SProcShmGetImage(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShmGetImageReq);
|
REQUEST(xShmGetImageReq);
|
||||||
|
@ -1416,7 +1416,7 @@ SProcShmGetImage(ClientPtr client)
|
||||||
return ProcShmGetImage(client);
|
return ProcShmGetImage(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShmCreatePixmap(ClientPtr client)
|
SProcShmCreatePixmap(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShmCreatePixmapReq);
|
REQUEST(xShmCreatePixmapReq);
|
||||||
|
@ -1432,7 +1432,7 @@ SProcShmCreatePixmap(ClientPtr client)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SHM_FD_PASSING
|
#ifdef SHM_FD_PASSING
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShmAttachFd(ClientPtr client)
|
SProcShmAttachFd(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShmAttachFdReq);
|
REQUEST(xShmAttachFdReq);
|
||||||
|
@ -1443,7 +1443,7 @@ SProcShmAttachFd(ClientPtr client)
|
||||||
return ProcShmAttachFd(client);
|
return ProcShmAttachFd(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShmCreateSegment(ClientPtr client)
|
SProcShmCreateSegment(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xShmCreateSegmentReq);
|
REQUEST(xShmCreateSegmentReq);
|
||||||
|
@ -1455,7 +1455,7 @@ SProcShmCreateSegment(ClientPtr client)
|
||||||
}
|
}
|
||||||
#endif /* SHM_FD_PASSING */
|
#endif /* SHM_FD_PASSING */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcShmDispatch(ClientPtr client)
|
SProcShmDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
46
Xext/sync.c
46
Xext/sync.c
|
@ -2151,7 +2151,7 @@ ProcSyncDispatch(ClientPtr client)
|
||||||
* Boring Swapping stuff ...
|
* Boring Swapping stuff ...
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncInitialize(ClientPtr client)
|
SProcSyncInitialize(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncInitializeReq);
|
REQUEST(xSyncInitializeReq);
|
||||||
|
@ -2161,7 +2161,7 @@ SProcSyncInitialize(ClientPtr client)
|
||||||
return ProcSyncInitialize(client);
|
return ProcSyncInitialize(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncListSystemCounters(ClientPtr client)
|
SProcSyncListSystemCounters(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncListSystemCountersReq);
|
REQUEST(xSyncListSystemCountersReq);
|
||||||
|
@ -2171,7 +2171,7 @@ SProcSyncListSystemCounters(ClientPtr client)
|
||||||
return ProcSyncListSystemCounters(client);
|
return ProcSyncListSystemCounters(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncCreateCounter(ClientPtr client)
|
SProcSyncCreateCounter(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncCreateCounterReq);
|
REQUEST(xSyncCreateCounterReq);
|
||||||
|
@ -2184,7 +2184,7 @@ SProcSyncCreateCounter(ClientPtr client)
|
||||||
return ProcSyncCreateCounter(client);
|
return ProcSyncCreateCounter(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncSetCounter(ClientPtr client)
|
SProcSyncSetCounter(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncSetCounterReq);
|
REQUEST(xSyncSetCounterReq);
|
||||||
|
@ -2197,7 +2197,7 @@ SProcSyncSetCounter(ClientPtr client)
|
||||||
return ProcSyncSetCounter(client);
|
return ProcSyncSetCounter(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncChangeCounter(ClientPtr client)
|
SProcSyncChangeCounter(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncChangeCounterReq);
|
REQUEST(xSyncChangeCounterReq);
|
||||||
|
@ -2210,7 +2210,7 @@ SProcSyncChangeCounter(ClientPtr client)
|
||||||
return ProcSyncChangeCounter(client);
|
return ProcSyncChangeCounter(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncQueryCounter(ClientPtr client)
|
SProcSyncQueryCounter(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncQueryCounterReq);
|
REQUEST(xSyncQueryCounterReq);
|
||||||
|
@ -2221,7 +2221,7 @@ SProcSyncQueryCounter(ClientPtr client)
|
||||||
return ProcSyncQueryCounter(client);
|
return ProcSyncQueryCounter(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncDestroyCounter(ClientPtr client)
|
SProcSyncDestroyCounter(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncDestroyCounterReq);
|
REQUEST(xSyncDestroyCounterReq);
|
||||||
|
@ -2232,7 +2232,7 @@ SProcSyncDestroyCounter(ClientPtr client)
|
||||||
return ProcSyncDestroyCounter(client);
|
return ProcSyncDestroyCounter(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncAwait(ClientPtr client)
|
SProcSyncAwait(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncAwaitReq);
|
REQUEST(xSyncAwaitReq);
|
||||||
|
@ -2243,7 +2243,7 @@ SProcSyncAwait(ClientPtr client)
|
||||||
return ProcSyncAwait(client);
|
return ProcSyncAwait(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncCreateAlarm(ClientPtr client)
|
SProcSyncCreateAlarm(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncCreateAlarmReq);
|
REQUEST(xSyncCreateAlarmReq);
|
||||||
|
@ -2256,7 +2256,7 @@ SProcSyncCreateAlarm(ClientPtr client)
|
||||||
return ProcSyncCreateAlarm(client);
|
return ProcSyncCreateAlarm(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncChangeAlarm(ClientPtr client)
|
SProcSyncChangeAlarm(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncChangeAlarmReq);
|
REQUEST(xSyncChangeAlarmReq);
|
||||||
|
@ -2268,7 +2268,7 @@ SProcSyncChangeAlarm(ClientPtr client)
|
||||||
return ProcSyncChangeAlarm(client);
|
return ProcSyncChangeAlarm(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncQueryAlarm(ClientPtr client)
|
SProcSyncQueryAlarm(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncQueryAlarmReq);
|
REQUEST(xSyncQueryAlarmReq);
|
||||||
|
@ -2279,7 +2279,7 @@ SProcSyncQueryAlarm(ClientPtr client)
|
||||||
return ProcSyncQueryAlarm(client);
|
return ProcSyncQueryAlarm(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncDestroyAlarm(ClientPtr client)
|
SProcSyncDestroyAlarm(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncDestroyAlarmReq);
|
REQUEST(xSyncDestroyAlarmReq);
|
||||||
|
@ -2290,7 +2290,7 @@ SProcSyncDestroyAlarm(ClientPtr client)
|
||||||
return ProcSyncDestroyAlarm(client);
|
return ProcSyncDestroyAlarm(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncSetPriority(ClientPtr client)
|
SProcSyncSetPriority(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncSetPriorityReq);
|
REQUEST(xSyncSetPriorityReq);
|
||||||
|
@ -2302,7 +2302,7 @@ SProcSyncSetPriority(ClientPtr client)
|
||||||
return ProcSyncSetPriority(client);
|
return ProcSyncSetPriority(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncGetPriority(ClientPtr client)
|
SProcSyncGetPriority(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncGetPriorityReq);
|
REQUEST(xSyncGetPriorityReq);
|
||||||
|
@ -2313,7 +2313,7 @@ SProcSyncGetPriority(ClientPtr client)
|
||||||
return ProcSyncGetPriority(client);
|
return ProcSyncGetPriority(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncCreateFence(ClientPtr client)
|
SProcSyncCreateFence(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncCreateFenceReq);
|
REQUEST(xSyncCreateFenceReq);
|
||||||
|
@ -2324,7 +2324,7 @@ SProcSyncCreateFence(ClientPtr client)
|
||||||
return ProcSyncCreateFence(client);
|
return ProcSyncCreateFence(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncTriggerFence(ClientPtr client)
|
SProcSyncTriggerFence(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncTriggerFenceReq);
|
REQUEST(xSyncTriggerFenceReq);
|
||||||
|
@ -2335,7 +2335,7 @@ SProcSyncTriggerFence(ClientPtr client)
|
||||||
return ProcSyncTriggerFence(client);
|
return ProcSyncTriggerFence(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncResetFence(ClientPtr client)
|
SProcSyncResetFence(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncResetFenceReq);
|
REQUEST(xSyncResetFenceReq);
|
||||||
|
@ -2346,7 +2346,7 @@ SProcSyncResetFence(ClientPtr client)
|
||||||
return ProcSyncResetFence(client);
|
return ProcSyncResetFence(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncDestroyFence(ClientPtr client)
|
SProcSyncDestroyFence(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncDestroyFenceReq);
|
REQUEST(xSyncDestroyFenceReq);
|
||||||
|
@ -2357,7 +2357,7 @@ SProcSyncDestroyFence(ClientPtr client)
|
||||||
return ProcSyncDestroyFence(client);
|
return ProcSyncDestroyFence(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncQueryFence(ClientPtr client)
|
SProcSyncQueryFence(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncQueryFenceReq);
|
REQUEST(xSyncQueryFenceReq);
|
||||||
|
@ -2368,7 +2368,7 @@ SProcSyncQueryFence(ClientPtr client)
|
||||||
return ProcSyncQueryFence(client);
|
return ProcSyncQueryFence(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncAwaitFence(ClientPtr client)
|
SProcSyncAwaitFence(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSyncAwaitFenceReq);
|
REQUEST(xSyncAwaitFenceReq);
|
||||||
|
@ -2379,7 +2379,7 @@ SProcSyncAwaitFence(ClientPtr client)
|
||||||
return ProcSyncAwaitFence(client);
|
return ProcSyncAwaitFence(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSyncDispatch(ClientPtr client)
|
SProcSyncDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
@ -2434,7 +2434,7 @@ SProcSyncDispatch(ClientPtr client)
|
||||||
* Event Swapping
|
* Event Swapping
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SCounterNotifyEvent(xSyncCounterNotifyEvent * from,
|
SCounterNotifyEvent(xSyncCounterNotifyEvent * from,
|
||||||
xSyncCounterNotifyEvent * to)
|
xSyncCounterNotifyEvent * to)
|
||||||
{
|
{
|
||||||
|
@ -2451,7 +2451,7 @@ SCounterNotifyEvent(xSyncCounterNotifyEvent * from,
|
||||||
to->destroyed = from->destroyed;
|
to->destroyed = from->destroyed;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SAlarmNotifyEvent(xSyncAlarmNotifyEvent * from, xSyncAlarmNotifyEvent * to)
|
SAlarmNotifyEvent(xSyncAlarmNotifyEvent * from, xSyncAlarmNotifyEvent * to)
|
||||||
{
|
{
|
||||||
to->type = from->type;
|
to->type = from->type;
|
||||||
|
|
|
@ -1692,7 +1692,7 @@ ProcVidModeDispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeQueryVersion(ClientPtr client)
|
SProcVidModeQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeQueryVersionReq);
|
REQUEST(xXF86VidModeQueryVersionReq);
|
||||||
|
@ -1700,7 +1700,7 @@ SProcVidModeQueryVersion(ClientPtr client)
|
||||||
return ProcVidModeQueryVersion(client);
|
return ProcVidModeQueryVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeGetModeLine(ClientPtr client)
|
SProcVidModeGetModeLine(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeGetModeLineReq);
|
REQUEST(xXF86VidModeGetModeLineReq);
|
||||||
|
@ -1710,7 +1710,7 @@ SProcVidModeGetModeLine(ClientPtr client)
|
||||||
return ProcVidModeGetModeLine(client);
|
return ProcVidModeGetModeLine(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeGetAllModeLines(ClientPtr client)
|
SProcVidModeGetAllModeLines(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeGetAllModeLinesReq);
|
REQUEST(xXF86VidModeGetAllModeLinesReq);
|
||||||
|
@ -1720,7 +1720,7 @@ SProcVidModeGetAllModeLines(ClientPtr client)
|
||||||
return ProcVidModeGetAllModeLines(client);
|
return ProcVidModeGetAllModeLines(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeAddModeLine(ClientPtr client)
|
SProcVidModeAddModeLine(ClientPtr client)
|
||||||
{
|
{
|
||||||
xXF86OldVidModeAddModeLineReq *oldstuff =
|
xXF86OldVidModeAddModeLineReq *oldstuff =
|
||||||
|
@ -1765,7 +1765,7 @@ SProcVidModeAddModeLine(ClientPtr client)
|
||||||
return ProcVidModeAddModeLine(client);
|
return ProcVidModeAddModeLine(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeDeleteModeLine(ClientPtr client)
|
SProcVidModeDeleteModeLine(ClientPtr client)
|
||||||
{
|
{
|
||||||
xXF86OldVidModeDeleteModeLineReq *oldstuff =
|
xXF86OldVidModeDeleteModeLineReq *oldstuff =
|
||||||
|
@ -1810,7 +1810,7 @@ SProcVidModeDeleteModeLine(ClientPtr client)
|
||||||
return ProcVidModeDeleteModeLine(client);
|
return ProcVidModeDeleteModeLine(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeModModeLine(ClientPtr client)
|
SProcVidModeModModeLine(ClientPtr client)
|
||||||
{
|
{
|
||||||
xXF86OldVidModeModModeLineReq *oldstuff =
|
xXF86OldVidModeModModeLineReq *oldstuff =
|
||||||
|
@ -1855,7 +1855,7 @@ SProcVidModeModModeLine(ClientPtr client)
|
||||||
return ProcVidModeModModeLine(client);
|
return ProcVidModeModModeLine(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeValidateModeLine(ClientPtr client)
|
SProcVidModeValidateModeLine(ClientPtr client)
|
||||||
{
|
{
|
||||||
xXF86OldVidModeValidateModeLineReq *oldstuff =
|
xXF86OldVidModeValidateModeLineReq *oldstuff =
|
||||||
|
@ -1900,7 +1900,7 @@ SProcVidModeValidateModeLine(ClientPtr client)
|
||||||
return ProcVidModeValidateModeLine(client);
|
return ProcVidModeValidateModeLine(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeSwitchMode(ClientPtr client)
|
SProcVidModeSwitchMode(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeSwitchModeReq);
|
REQUEST(xXF86VidModeSwitchModeReq);
|
||||||
|
@ -1911,7 +1911,7 @@ SProcVidModeSwitchMode(ClientPtr client)
|
||||||
return ProcVidModeSwitchMode(client);
|
return ProcVidModeSwitchMode(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeSwitchToMode(ClientPtr client)
|
SProcVidModeSwitchToMode(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeSwitchToModeReq);
|
REQUEST(xXF86VidModeSwitchToModeReq);
|
||||||
|
@ -1921,7 +1921,7 @@ SProcVidModeSwitchToMode(ClientPtr client)
|
||||||
return ProcVidModeSwitchToMode(client);
|
return ProcVidModeSwitchToMode(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeLockModeSwitch(ClientPtr client)
|
SProcVidModeLockModeSwitch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeLockModeSwitchReq);
|
REQUEST(xXF86VidModeLockModeSwitchReq);
|
||||||
|
@ -1932,7 +1932,7 @@ SProcVidModeLockModeSwitch(ClientPtr client)
|
||||||
return ProcVidModeLockModeSwitch(client);
|
return ProcVidModeLockModeSwitch(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeGetMonitor(ClientPtr client)
|
SProcVidModeGetMonitor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeGetMonitorReq);
|
REQUEST(xXF86VidModeGetMonitorReq);
|
||||||
|
@ -1942,7 +1942,7 @@ SProcVidModeGetMonitor(ClientPtr client)
|
||||||
return ProcVidModeGetMonitor(client);
|
return ProcVidModeGetMonitor(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeGetViewPort(ClientPtr client)
|
SProcVidModeGetViewPort(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeGetViewPortReq);
|
REQUEST(xXF86VidModeGetViewPortReq);
|
||||||
|
@ -1952,7 +1952,7 @@ SProcVidModeGetViewPort(ClientPtr client)
|
||||||
return ProcVidModeGetViewPort(client);
|
return ProcVidModeGetViewPort(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeSetViewPort(ClientPtr client)
|
SProcVidModeSetViewPort(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeSetViewPortReq);
|
REQUEST(xXF86VidModeSetViewPortReq);
|
||||||
|
@ -1964,7 +1964,7 @@ SProcVidModeSetViewPort(ClientPtr client)
|
||||||
return ProcVidModeSetViewPort(client);
|
return ProcVidModeSetViewPort(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeGetDotClocks(ClientPtr client)
|
SProcVidModeGetDotClocks(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeGetDotClocksReq);
|
REQUEST(xXF86VidModeGetDotClocksReq);
|
||||||
|
@ -1974,7 +1974,7 @@ SProcVidModeGetDotClocks(ClientPtr client)
|
||||||
return ProcVidModeGetDotClocks(client);
|
return ProcVidModeGetDotClocks(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeSetClientVersion(ClientPtr client)
|
SProcVidModeSetClientVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeSetClientVersionReq);
|
REQUEST(xXF86VidModeSetClientVersionReq);
|
||||||
|
@ -1985,7 +1985,7 @@ SProcVidModeSetClientVersion(ClientPtr client)
|
||||||
return ProcVidModeSetClientVersion(client);
|
return ProcVidModeSetClientVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeSetGamma(ClientPtr client)
|
SProcVidModeSetGamma(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeSetGammaReq);
|
REQUEST(xXF86VidModeSetGammaReq);
|
||||||
|
@ -1998,7 +1998,7 @@ SProcVidModeSetGamma(ClientPtr client)
|
||||||
return ProcVidModeSetGamma(client);
|
return ProcVidModeSetGamma(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeGetGamma(ClientPtr client)
|
SProcVidModeGetGamma(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeGetGammaReq);
|
REQUEST(xXF86VidModeGetGammaReq);
|
||||||
|
@ -2008,7 +2008,7 @@ SProcVidModeGetGamma(ClientPtr client)
|
||||||
return ProcVidModeGetGamma(client);
|
return ProcVidModeGetGamma(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeSetGammaRamp(ClientPtr client)
|
SProcVidModeSetGammaRamp(ClientPtr client)
|
||||||
{
|
{
|
||||||
int length;
|
int length;
|
||||||
|
@ -2024,7 +2024,7 @@ SProcVidModeSetGammaRamp(ClientPtr client)
|
||||||
return ProcVidModeSetGammaRamp(client);
|
return ProcVidModeSetGammaRamp(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeGetGammaRamp(ClientPtr client)
|
SProcVidModeGetGammaRamp(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeGetGammaRampReq);
|
REQUEST(xXF86VidModeGetGammaRampReq);
|
||||||
|
@ -2035,7 +2035,7 @@ SProcVidModeGetGammaRamp(ClientPtr client)
|
||||||
return ProcVidModeGetGammaRamp(client);
|
return ProcVidModeGetGammaRamp(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeGetGammaRampSize(ClientPtr client)
|
SProcVidModeGetGammaRampSize(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeGetGammaRampSizeReq);
|
REQUEST(xXF86VidModeGetGammaRampSizeReq);
|
||||||
|
@ -2045,7 +2045,7 @@ SProcVidModeGetGammaRampSize(ClientPtr client)
|
||||||
return ProcVidModeGetGammaRampSize(client);
|
return ProcVidModeGetGammaRampSize(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeGetPermissions(ClientPtr client)
|
SProcVidModeGetPermissions(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86VidModeGetPermissionsReq);
|
REQUEST(xXF86VidModeGetPermissionsReq);
|
||||||
|
@ -2055,7 +2055,7 @@ SProcVidModeGetPermissions(ClientPtr client)
|
||||||
return ProcVidModeGetPermissions(client);
|
return ProcVidModeGetPermissions(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcVidModeDispatch(ClientPtr client)
|
SProcVidModeDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -142,7 +142,7 @@ ProcXCMiscDispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXCMiscGetVersion(ClientPtr client)
|
SProcXCMiscGetVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXCMiscGetVersionReq);
|
REQUEST(xXCMiscGetVersionReq);
|
||||||
|
@ -154,7 +154,7 @@ SProcXCMiscGetVersion(ClientPtr client)
|
||||||
return ProcXCMiscGetVersion(client);
|
return ProcXCMiscGetVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXCMiscGetXIDRange(ClientPtr client)
|
SProcXCMiscGetXIDRange(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
@ -163,7 +163,7 @@ SProcXCMiscGetXIDRange(ClientPtr client)
|
||||||
return ProcXCMiscGetXIDRange(client);
|
return ProcXCMiscGetXIDRange(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXCMiscGetXIDList(ClientPtr client)
|
SProcXCMiscGetXIDList(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXCMiscGetXIDListReq);
|
REQUEST(xXCMiscGetXIDListReq);
|
||||||
|
@ -174,7 +174,7 @@ SProcXCMiscGetXIDList(ClientPtr client)
|
||||||
return ProcXCMiscGetXIDList(client);
|
return ProcXCMiscGetXIDList(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXCMiscDispatch(ClientPtr client)
|
SProcXCMiscDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -657,7 +657,7 @@ ProcXF86BigfontDispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXF86BigfontQueryVersion(ClientPtr client)
|
SProcXF86BigfontQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86BigfontQueryVersionReq);
|
REQUEST(xXF86BigfontQueryVersionReq);
|
||||||
|
@ -666,7 +666,7 @@ SProcXF86BigfontQueryVersion(ClientPtr client)
|
||||||
return ProcXF86BigfontQueryVersion(client);
|
return ProcXF86BigfontQueryVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXF86BigfontQueryFont(ClientPtr client)
|
SProcXF86BigfontQueryFont(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86BigfontQueryFontReq);
|
REQUEST(xXF86BigfontQueryFontReq);
|
||||||
|
@ -677,7 +677,7 @@ SProcXF86BigfontQueryFont(ClientPtr client)
|
||||||
return ProcXF86BigfontQueryFont(client);
|
return ProcXF86BigfontQueryFont(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXF86BigfontDispatch(ClientPtr client)
|
SProcXF86BigfontDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
12
Xext/xres.c
12
Xext/xres.c
|
@ -1007,14 +1007,14 @@ ProcResDispatch(ClientPtr client)
|
||||||
return BadRequest;
|
return BadRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXResQueryVersion(ClientPtr client)
|
SProcXResQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST_SIZE_MATCH(xXResQueryVersionReq);
|
REQUEST_SIZE_MATCH(xXResQueryVersionReq);
|
||||||
return ProcXResQueryVersion(client);
|
return ProcXResQueryVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXResQueryClientResources(ClientPtr client)
|
SProcXResQueryClientResources(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXResQueryClientResourcesReq);
|
REQUEST(xXResQueryClientResourcesReq);
|
||||||
|
@ -1023,7 +1023,7 @@ SProcXResQueryClientResources(ClientPtr client)
|
||||||
return ProcXResQueryClientResources(client);
|
return ProcXResQueryClientResources(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXResQueryClientPixmapBytes(ClientPtr client)
|
SProcXResQueryClientPixmapBytes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXResQueryClientPixmapBytesReq);
|
REQUEST(xXResQueryClientPixmapBytesReq);
|
||||||
|
@ -1032,7 +1032,7 @@ SProcXResQueryClientPixmapBytes(ClientPtr client)
|
||||||
return ProcXResQueryClientPixmapBytes(client);
|
return ProcXResQueryClientPixmapBytes(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXResQueryClientIds (ClientPtr client)
|
SProcXResQueryClientIds (ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXResQueryClientIdsReq);
|
REQUEST(xXResQueryClientIdsReq);
|
||||||
|
@ -1045,7 +1045,7 @@ SProcXResQueryClientIds (ClientPtr client)
|
||||||
/** @brief Implements the XResQueryResourceBytes of XResProto v1.2.
|
/** @brief Implements the XResQueryResourceBytes of XResProto v1.2.
|
||||||
This variant byteswaps request contents before issuing the
|
This variant byteswaps request contents before issuing the
|
||||||
rest of the work to ProcXResQueryResourceBytes */
|
rest of the work to ProcXResQueryResourceBytes */
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXResQueryResourceBytes (ClientPtr client)
|
SProcXResQueryResourceBytes (ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXResQueryResourceBytesReq);
|
REQUEST(xXResQueryResourceBytesReq);
|
||||||
|
@ -1064,7 +1064,7 @@ SProcXResQueryResourceBytes (ClientPtr client)
|
||||||
return ProcXResQueryResourceBytes(client);
|
return ProcXResQueryResourceBytes(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcResDispatch (ClientPtr client)
|
SProcResDispatch (ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -528,13 +528,13 @@ ProcSELinuxDispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSELinuxQueryVersion(ClientPtr client)
|
SProcSELinuxQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
return ProcSELinuxQueryVersion(client);
|
return ProcSELinuxQueryVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSELinuxSetCreateContext(ClientPtr client, unsigned offset)
|
SProcSELinuxSetCreateContext(ClientPtr client, unsigned offset)
|
||||||
{
|
{
|
||||||
REQUEST(SELinuxSetCreateContextReq);
|
REQUEST(SELinuxSetCreateContextReq);
|
||||||
|
@ -544,7 +544,7 @@ SProcSELinuxSetCreateContext(ClientPtr client, unsigned offset)
|
||||||
return ProcSELinuxSetCreateContext(client, offset);
|
return ProcSELinuxSetCreateContext(client, offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSELinuxSetDeviceContext(ClientPtr client)
|
SProcSELinuxSetDeviceContext(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(SELinuxSetContextReq);
|
REQUEST(SELinuxSetContextReq);
|
||||||
|
@ -555,7 +555,7 @@ SProcSELinuxSetDeviceContext(ClientPtr client)
|
||||||
return ProcSELinuxSetDeviceContext(client);
|
return ProcSELinuxSetDeviceContext(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSELinuxGetDeviceContext(ClientPtr client)
|
SProcSELinuxGetDeviceContext(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(SELinuxGetContextReq);
|
REQUEST(SELinuxGetContextReq);
|
||||||
|
@ -565,7 +565,7 @@ SProcSELinuxGetDeviceContext(ClientPtr client)
|
||||||
return ProcSELinuxGetDeviceContext(client);
|
return ProcSELinuxGetDeviceContext(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSELinuxGetDrawableContext(ClientPtr client)
|
SProcSELinuxGetDrawableContext(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(SELinuxGetContextReq);
|
REQUEST(SELinuxGetContextReq);
|
||||||
|
@ -575,7 +575,7 @@ SProcSELinuxGetDrawableContext(ClientPtr client)
|
||||||
return ProcSELinuxGetDrawableContext(client);
|
return ProcSELinuxGetDrawableContext(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSELinuxGetPropertyContext(ClientPtr client, void *privKey)
|
SProcSELinuxGetPropertyContext(ClientPtr client, void *privKey)
|
||||||
{
|
{
|
||||||
REQUEST(SELinuxGetPropertyContextReq);
|
REQUEST(SELinuxGetPropertyContextReq);
|
||||||
|
@ -586,7 +586,7 @@ SProcSELinuxGetPropertyContext(ClientPtr client, void *privKey)
|
||||||
return ProcSELinuxGetPropertyContext(client, privKey);
|
return ProcSELinuxGetPropertyContext(client, privKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSELinuxGetSelectionContext(ClientPtr client, void *privKey)
|
SProcSELinuxGetSelectionContext(ClientPtr client, void *privKey)
|
||||||
{
|
{
|
||||||
REQUEST(SELinuxGetContextReq);
|
REQUEST(SELinuxGetContextReq);
|
||||||
|
@ -596,7 +596,7 @@ SProcSELinuxGetSelectionContext(ClientPtr client, void *privKey)
|
||||||
return ProcSELinuxGetSelectionContext(client, privKey);
|
return ProcSELinuxGetSelectionContext(client, privKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSELinuxListProperties(ClientPtr client)
|
SProcSELinuxListProperties(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(SELinuxGetContextReq);
|
REQUEST(SELinuxGetContextReq);
|
||||||
|
@ -606,7 +606,7 @@ SProcSELinuxListProperties(ClientPtr client)
|
||||||
return ProcSELinuxListProperties(client);
|
return ProcSELinuxListProperties(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSELinuxGetClientContext(ClientPtr client)
|
SProcSELinuxGetClientContext(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(SELinuxGetContextReq);
|
REQUEST(SELinuxGetContextReq);
|
||||||
|
@ -616,7 +616,7 @@ SProcSELinuxGetClientContext(ClientPtr client)
|
||||||
return ProcSELinuxGetClientContext(client);
|
return ProcSELinuxGetClientContext(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcSELinuxDispatch(ClientPtr client)
|
SProcSELinuxDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
12
Xext/xtest.c
12
Xext/xtest.c
|
@ -468,7 +468,7 @@ ProcXTestDispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXTestGetVersion(ClientPtr client)
|
SProcXTestGetVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXTestGetVersionReq);
|
REQUEST(xXTestGetVersionReq);
|
||||||
|
@ -479,7 +479,7 @@ SProcXTestGetVersion(ClientPtr client)
|
||||||
return ProcXTestGetVersion(client);
|
return ProcXTestGetVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXTestCompareCursor(ClientPtr client)
|
SProcXTestCompareCursor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXTestCompareCursorReq);
|
REQUEST(xXTestCompareCursorReq);
|
||||||
|
@ -491,7 +491,7 @@ SProcXTestCompareCursor(ClientPtr client)
|
||||||
return ProcXTestCompareCursor(client);
|
return ProcXTestCompareCursor(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
XTestSwapFakeInput(ClientPtr client, xReq * req)
|
XTestSwapFakeInput(ClientPtr client, xReq * req)
|
||||||
{
|
{
|
||||||
int nev;
|
int nev;
|
||||||
|
@ -514,7 +514,7 @@ XTestSwapFakeInput(ClientPtr client, xReq * req)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXTestFakeInput(ClientPtr client)
|
SProcXTestFakeInput(ClientPtr client)
|
||||||
{
|
{
|
||||||
int n;
|
int n;
|
||||||
|
@ -528,7 +528,7 @@ SProcXTestFakeInput(ClientPtr client)
|
||||||
return ProcXTestFakeInput(client);
|
return ProcXTestFakeInput(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXTestGrabControl(ClientPtr client)
|
SProcXTestGrabControl(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXTestGrabControlReq);
|
REQUEST(xXTestGrabControlReq);
|
||||||
|
@ -538,7 +538,7 @@ SProcXTestGrabControl(ClientPtr client)
|
||||||
return ProcXTestGrabControl(client);
|
return ProcXTestGrabControl(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXTestDispatch(ClientPtr client)
|
SProcXTestDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -1115,7 +1115,7 @@ ProcXvDispatch(ClientPtr client)
|
||||||
|
|
||||||
/* Swapped Procs */
|
/* Swapped Procs */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvQueryExtension(ClientPtr client)
|
SProcXvQueryExtension(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvQueryExtensionReq);
|
REQUEST(xvQueryExtensionReq);
|
||||||
|
@ -1124,7 +1124,7 @@ SProcXvQueryExtension(ClientPtr client)
|
||||||
return XvProcVector[xv_QueryExtension] (client);
|
return XvProcVector[xv_QueryExtension] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvQueryAdaptors(ClientPtr client)
|
SProcXvQueryAdaptors(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvQueryAdaptorsReq);
|
REQUEST(xvQueryAdaptorsReq);
|
||||||
|
@ -1134,7 +1134,7 @@ SProcXvQueryAdaptors(ClientPtr client)
|
||||||
return XvProcVector[xv_QueryAdaptors] (client);
|
return XvProcVector[xv_QueryAdaptors] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvQueryEncodings(ClientPtr client)
|
SProcXvQueryEncodings(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvQueryEncodingsReq);
|
REQUEST(xvQueryEncodingsReq);
|
||||||
|
@ -1144,7 +1144,7 @@ SProcXvQueryEncodings(ClientPtr client)
|
||||||
return XvProcVector[xv_QueryEncodings] (client);
|
return XvProcVector[xv_QueryEncodings] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvGrabPort(ClientPtr client)
|
SProcXvGrabPort(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvGrabPortReq);
|
REQUEST(xvGrabPortReq);
|
||||||
|
@ -1155,7 +1155,7 @@ SProcXvGrabPort(ClientPtr client)
|
||||||
return XvProcVector[xv_GrabPort] (client);
|
return XvProcVector[xv_GrabPort] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvUngrabPort(ClientPtr client)
|
SProcXvUngrabPort(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvUngrabPortReq);
|
REQUEST(xvUngrabPortReq);
|
||||||
|
@ -1166,7 +1166,7 @@ SProcXvUngrabPort(ClientPtr client)
|
||||||
return XvProcVector[xv_UngrabPort] (client);
|
return XvProcVector[xv_UngrabPort] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvPutVideo(ClientPtr client)
|
SProcXvPutVideo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvPutVideoReq);
|
REQUEST(xvPutVideoReq);
|
||||||
|
@ -1186,7 +1186,7 @@ SProcXvPutVideo(ClientPtr client)
|
||||||
return XvProcVector[xv_PutVideo] (client);
|
return XvProcVector[xv_PutVideo] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvPutStill(ClientPtr client)
|
SProcXvPutStill(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvPutStillReq);
|
REQUEST(xvPutStillReq);
|
||||||
|
@ -1206,7 +1206,7 @@ SProcXvPutStill(ClientPtr client)
|
||||||
return XvProcVector[xv_PutStill] (client);
|
return XvProcVector[xv_PutStill] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvGetVideo(ClientPtr client)
|
SProcXvGetVideo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvGetVideoReq);
|
REQUEST(xvGetVideoReq);
|
||||||
|
@ -1226,7 +1226,7 @@ SProcXvGetVideo(ClientPtr client)
|
||||||
return XvProcVector[xv_GetVideo] (client);
|
return XvProcVector[xv_GetVideo] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvGetStill(ClientPtr client)
|
SProcXvGetStill(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvGetStillReq);
|
REQUEST(xvGetStillReq);
|
||||||
|
@ -1246,7 +1246,7 @@ SProcXvGetStill(ClientPtr client)
|
||||||
return XvProcVector[xv_GetStill] (client);
|
return XvProcVector[xv_GetStill] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvPutImage(ClientPtr client)
|
SProcXvPutImage(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvPutImageReq);
|
REQUEST(xvPutImageReq);
|
||||||
|
@ -1270,7 +1270,7 @@ SProcXvPutImage(ClientPtr client)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef MITSHM
|
#ifdef MITSHM
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvShmPutImage(ClientPtr client)
|
SProcXvShmPutImage(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvShmPutImageReq);
|
REQUEST(xvShmPutImageReq);
|
||||||
|
@ -1298,7 +1298,7 @@ SProcXvShmPutImage(ClientPtr client)
|
||||||
#define SProcXvShmPutImage ProcXvShmPutImage
|
#define SProcXvShmPutImage ProcXvShmPutImage
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvSelectVideoNotify(ClientPtr client)
|
SProcXvSelectVideoNotify(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvSelectVideoNotifyReq);
|
REQUEST(xvSelectVideoNotifyReq);
|
||||||
|
@ -1308,7 +1308,7 @@ SProcXvSelectVideoNotify(ClientPtr client)
|
||||||
return XvProcVector[xv_SelectVideoNotify] (client);
|
return XvProcVector[xv_SelectVideoNotify] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvSelectPortNotify(ClientPtr client)
|
SProcXvSelectPortNotify(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvSelectPortNotifyReq);
|
REQUEST(xvSelectPortNotifyReq);
|
||||||
|
@ -1318,7 +1318,7 @@ SProcXvSelectPortNotify(ClientPtr client)
|
||||||
return XvProcVector[xv_SelectPortNotify] (client);
|
return XvProcVector[xv_SelectPortNotify] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvStopVideo(ClientPtr client)
|
SProcXvStopVideo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvStopVideoReq);
|
REQUEST(xvStopVideoReq);
|
||||||
|
@ -1329,7 +1329,7 @@ SProcXvStopVideo(ClientPtr client)
|
||||||
return XvProcVector[xv_StopVideo] (client);
|
return XvProcVector[xv_StopVideo] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvSetPortAttribute(ClientPtr client)
|
SProcXvSetPortAttribute(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvSetPortAttributeReq);
|
REQUEST(xvSetPortAttributeReq);
|
||||||
|
@ -1341,7 +1341,7 @@ SProcXvSetPortAttribute(ClientPtr client)
|
||||||
return XvProcVector[xv_SetPortAttribute] (client);
|
return XvProcVector[xv_SetPortAttribute] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvGetPortAttribute(ClientPtr client)
|
SProcXvGetPortAttribute(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvGetPortAttributeReq);
|
REQUEST(xvGetPortAttributeReq);
|
||||||
|
@ -1352,7 +1352,7 @@ SProcXvGetPortAttribute(ClientPtr client)
|
||||||
return XvProcVector[xv_GetPortAttribute] (client);
|
return XvProcVector[xv_GetPortAttribute] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvQueryBestSize(ClientPtr client)
|
SProcXvQueryBestSize(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvQueryBestSizeReq);
|
REQUEST(xvQueryBestSizeReq);
|
||||||
|
@ -1366,7 +1366,7 @@ SProcXvQueryBestSize(ClientPtr client)
|
||||||
return XvProcVector[xv_QueryBestSize] (client);
|
return XvProcVector[xv_QueryBestSize] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvQueryPortAttributes(ClientPtr client)
|
SProcXvQueryPortAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvQueryPortAttributesReq);
|
REQUEST(xvQueryPortAttributesReq);
|
||||||
|
@ -1376,7 +1376,7 @@ SProcXvQueryPortAttributes(ClientPtr client)
|
||||||
return XvProcVector[xv_QueryPortAttributes] (client);
|
return XvProcVector[xv_QueryPortAttributes] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvQueryImageAttributes(ClientPtr client)
|
SProcXvQueryImageAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvQueryImageAttributesReq);
|
REQUEST(xvQueryImageAttributesReq);
|
||||||
|
@ -1389,7 +1389,7 @@ SProcXvQueryImageAttributes(ClientPtr client)
|
||||||
return XvProcVector[xv_QueryImageAttributes] (client);
|
return XvProcVector[xv_QueryImageAttributes] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvListImageFormats(ClientPtr client)
|
SProcXvListImageFormats(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xvListImageFormatsReq);
|
REQUEST(xvListImageFormatsReq);
|
||||||
|
@ -1419,7 +1419,7 @@ SProcXvQueryExtension,
|
||||||
SProcXvListImageFormats,
|
SProcXvListImageFormats,
|
||||||
SProcXvQueryImageAttributes, SProcXvPutImage, SProcXvShmPutImage,};
|
SProcXvQueryImageAttributes, SProcXvPutImage, SProcXvShmPutImage,};
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXvDispatch(ClientPtr client)
|
SProcXvDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -984,7 +984,7 @@ XvdiGetPortAttribute(ClientPtr client,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
WriteSwappedVideoNotifyEvent(xvEvent * from, xvEvent * to)
|
WriteSwappedVideoNotifyEvent(xvEvent * from, xvEvent * to)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -998,7 +998,7 @@ WriteSwappedVideoNotifyEvent(xvEvent * from, xvEvent * to)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
WriteSwappedPortNotifyEvent(xvEvent * from, xvEvent * to)
|
WriteSwappedPortNotifyEvent(xvEvent * from, xvEvent * to)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -690,7 +690,7 @@ ProcXvMCDispatch(ClientPtr client)
|
||||||
return BadRequest;
|
return BadRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXvMCDispatch(ClientPtr client)
|
SProcXvMCDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
/* We only support local */
|
/* We only support local */
|
||||||
|
|
|
@ -69,7 +69,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXAllowDeviceEvents(ClientPtr client)
|
SProcXAllowDeviceEvents(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xAllowDeviceEventsReq);
|
REQUEST(xAllowDeviceEventsReq);
|
||||||
|
|
|
@ -71,7 +71,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXChangeDeviceControl(ClientPtr client)
|
SProcXChangeDeviceControl(ClientPtr client)
|
||||||
{
|
{
|
||||||
xDeviceCtl *ctl;
|
xDeviceCtl *ctl;
|
||||||
|
@ -247,7 +247,7 @@ ProcXChangeDeviceControl(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXChangeDeviceControl(ClientPtr client, int size,
|
SRepXChangeDeviceControl(ClientPtr client, int size,
|
||||||
xChangeDeviceControlReply * rep)
|
xChangeDeviceControlReply * rep)
|
||||||
{
|
{
|
||||||
|
|
|
@ -71,7 +71,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXChangeFeedbackControl(ClientPtr client)
|
SProcXChangeFeedbackControl(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xChangeFeedbackControlReq);
|
REQUEST(xChangeFeedbackControlReq);
|
||||||
|
|
|
@ -72,7 +72,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXChangeKeyboardDevice(ClientPtr client)
|
SProcXChangeKeyboardDevice(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xChangeKeyboardDeviceReq);
|
REQUEST(xChangeKeyboardDeviceReq);
|
||||||
|
|
|
@ -69,7 +69,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXChangeDeviceKeyMapping(ClientPtr client)
|
SProcXChangeDeviceKeyMapping(ClientPtr client)
|
||||||
{
|
{
|
||||||
unsigned int count;
|
unsigned int count;
|
||||||
|
|
|
@ -71,7 +71,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXChangeDeviceDontPropagateList(ClientPtr client)
|
SProcXChangeDeviceDontPropagateList(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xChangeDeviceDontPropagateListReq);
|
REQUEST(xChangeDeviceDontPropagateListReq);
|
||||||
|
|
|
@ -74,7 +74,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXChangePointerDevice(ClientPtr client)
|
SProcXChangePointerDevice(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xChangePointerDeviceReq);
|
REQUEST(xChangePointerDeviceReq);
|
||||||
|
|
|
@ -70,7 +70,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXCloseDevice(ClientPtr client)
|
SProcXCloseDevice(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCloseDeviceReq);
|
REQUEST(xCloseDeviceReq);
|
||||||
|
|
|
@ -68,7 +68,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXDeviceBell(ClientPtr client)
|
SProcXDeviceBell(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDeviceBellReq);
|
REQUEST(xDeviceBellReq);
|
||||||
|
|
|
@ -407,7 +407,7 @@ ProcIDispatch(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcIDispatch(ClientPtr client)
|
SProcIDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
@ -425,7 +425,7 @@ SProcIDispatch(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SReplyIDispatch(ClientPtr client, int len, xGrabDeviceReply * rep)
|
SReplyIDispatch(ClientPtr client, int len, xGrabDeviceReply * rep)
|
||||||
{
|
{
|
||||||
/* All we look at is the type field */
|
/* All we look at is the type field */
|
||||||
|
@ -859,7 +859,7 @@ SBarrierEvent(xXIBarrierEvent * from,
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Event swapping function for XI2 events. */
|
/** Event swapping function for XI2 events. */
|
||||||
void
|
void _X_COLD
|
||||||
XI2EventSwap(xGenericEvent *from, xGenericEvent *to)
|
XI2EventSwap(xGenericEvent *from, xGenericEvent *to)
|
||||||
{
|
{
|
||||||
switch (from->evtype) {
|
switch (from->evtype) {
|
||||||
|
@ -1202,7 +1202,7 @@ MakeDeviceTypeAtoms(void)
|
||||||
*/
|
*/
|
||||||
#define DO_SWAP(func,type) func ((type *)from, (type *)to)
|
#define DO_SWAP(func,type) func ((type *)from, (type *)to)
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SEventIDispatch(xEvent *from, xEvent *to)
|
SEventIDispatch(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
int type = from->u.u.type & 0177;
|
int type = from->u.u.type & 0177;
|
||||||
|
|
|
@ -67,7 +67,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGetDeviceButtonMapping(ClientPtr client)
|
SProcXGetDeviceButtonMapping(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetDeviceButtonMappingReq);
|
REQUEST(xGetDeviceButtonMappingReq);
|
||||||
|
@ -122,7 +122,7 @@ ProcXGetDeviceButtonMapping(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXGetDeviceButtonMapping(ClientPtr client, int size,
|
SRepXGetDeviceButtonMapping(ClientPtr client, int size,
|
||||||
xGetDeviceButtonMappingReply * rep)
|
xGetDeviceButtonMappingReply * rep)
|
||||||
{
|
{
|
||||||
|
|
|
@ -68,7 +68,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGetDeviceControl(ClientPtr client)
|
SProcXGetDeviceControl(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetDeviceControlReq);
|
REQUEST(xGetDeviceControlReq);
|
||||||
|
@ -153,7 +153,7 @@ CopySwapDeviceEnable(ClientPtr client, DeviceIntPtr dev, char *buf)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXGetDeviceControl(ClientPtr client, int size, xGetDeviceControlReply * rep)
|
SRepXGetDeviceControl(ClientPtr client, int size, xGetDeviceControlReply * rep)
|
||||||
{
|
{
|
||||||
swaps(&rep->sequenceNumber);
|
swaps(&rep->sequenceNumber);
|
||||||
|
|
|
@ -68,7 +68,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGetFeedbackControl(ClientPtr client)
|
SProcXGetFeedbackControl(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetFeedbackControlReq);
|
REQUEST(xGetFeedbackControlReq);
|
||||||
|
@ -258,7 +258,7 @@ CopySwapBellFeedback(ClientPtr client, BellFeedbackPtr b, char **buf)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXGetFeedbackControl(ClientPtr client, int size,
|
SRepXGetFeedbackControl(ClientPtr client, int size,
|
||||||
xGetFeedbackControlReply * rep)
|
xGetFeedbackControlReply * rep)
|
||||||
{
|
{
|
||||||
|
|
|
@ -68,7 +68,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGetDeviceFocus(ClientPtr client)
|
SProcXGetDeviceFocus(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetDeviceFocusReq);
|
REQUEST(xGetDeviceFocusReq);
|
||||||
|
@ -130,7 +130,7 @@ ProcXGetDeviceFocus(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXGetDeviceFocus(ClientPtr client, int size, xGetDeviceFocusReply * rep)
|
SRepXGetDeviceFocus(ClientPtr client, int size, xGetDeviceFocusReply * rep)
|
||||||
{
|
{
|
||||||
swaps(&rep->sequenceNumber);
|
swaps(&rep->sequenceNumber);
|
||||||
|
|
|
@ -71,7 +71,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGetDeviceKeyMapping(ClientPtr client)
|
SProcXGetDeviceKeyMapping(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetDeviceKeyMappingReq);
|
REQUEST(xGetDeviceKeyMappingReq);
|
||||||
|
@ -146,7 +146,7 @@ ProcXGetDeviceKeyMapping(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXGetDeviceKeyMapping(ClientPtr client, int size,
|
SRepXGetDeviceKeyMapping(ClientPtr client, int size,
|
||||||
xGetDeviceKeyMappingReply * rep)
|
xGetDeviceKeyMappingReply * rep)
|
||||||
{
|
{
|
||||||
|
|
|
@ -68,7 +68,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGetDeviceModifierMapping(ClientPtr client)
|
SProcXGetDeviceModifierMapping(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetDeviceModifierMappingReq);
|
REQUEST(xGetDeviceModifierMappingReq);
|
||||||
|
@ -125,7 +125,7 @@ ProcXGetDeviceModifierMapping(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXGetDeviceModifierMapping(ClientPtr client, int size,
|
SRepXGetDeviceModifierMapping(ClientPtr client, int size,
|
||||||
xGetDeviceModifierMappingReply * rep)
|
xGetDeviceModifierMappingReply * rep)
|
||||||
{
|
{
|
||||||
|
|
|
@ -72,7 +72,7 @@ extern int ExtEventIndex;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGetDeviceDontPropagateList(ClientPtr client)
|
SProcXGetDeviceDontPropagateList(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetDeviceDontPropagateListReq);
|
REQUEST(xGetDeviceDontPropagateListReq);
|
||||||
|
@ -173,7 +173,7 @@ XEventClass
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXGetDeviceDontPropagateList(ClientPtr client, int size,
|
SRepXGetDeviceDontPropagateList(ClientPtr client, int size,
|
||||||
xGetDeviceDontPropagateListReply * rep)
|
xGetDeviceDontPropagateListReply * rep)
|
||||||
{
|
{
|
||||||
|
|
|
@ -70,7 +70,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGetSelectedExtensionEvents(ClientPtr client)
|
SProcXGetSelectedExtensionEvents(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetSelectedExtensionEventsReq);
|
REQUEST(xGetSelectedExtensionEventsReq);
|
||||||
|
@ -164,7 +164,7 @@ ProcXGetSelectedExtensionEvents(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXGetSelectedExtensionEvents(ClientPtr client, int size,
|
SRepXGetSelectedExtensionEvents(ClientPtr client, int size,
|
||||||
xGetSelectedExtensionEventsReply * rep)
|
xGetSelectedExtensionEventsReply * rep)
|
||||||
{
|
{
|
||||||
|
|
|
@ -70,7 +70,7 @@ XExtensionVersion XIVersion;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGetExtensionVersion(ClientPtr client)
|
SProcXGetExtensionVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetExtensionVersionReq);
|
REQUEST(xGetExtensionVersionReq);
|
||||||
|
@ -120,7 +120,7 @@ ProcXGetExtensionVersion(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXGetExtensionVersion(ClientPtr client, int size,
|
SRepXGetExtensionVersion(ClientPtr client, int size,
|
||||||
xGetExtensionVersionReply * rep)
|
xGetExtensionVersionReply * rep)
|
||||||
{
|
{
|
||||||
|
|
|
@ -72,7 +72,7 @@ extern int ExtEventIndex;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGrabDevice(ClientPtr client)
|
SProcXGrabDevice(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGrabDeviceReq);
|
REQUEST(xGrabDeviceReq);
|
||||||
|
@ -205,7 +205,7 @@ CreateMaskFromList(ClientPtr client, XEventClass * list, int count,
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXGrabDevice(ClientPtr client, int size, xGrabDeviceReply * rep)
|
SRepXGrabDevice(ClientPtr client, int size, xGrabDeviceReply * rep)
|
||||||
{
|
{
|
||||||
swaps(&rep->sequenceNumber);
|
swaps(&rep->sequenceNumber);
|
||||||
|
|
|
@ -71,7 +71,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGrabDeviceButton(ClientPtr client)
|
SProcXGrabDeviceButton(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGrabDeviceButtonReq);
|
REQUEST(xGrabDeviceButtonReq);
|
||||||
|
|
|
@ -71,7 +71,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGrabDeviceKey(ClientPtr client)
|
SProcXGrabDeviceKey(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGrabDeviceKeyReq);
|
REQUEST(xGrabDeviceKeyReq);
|
||||||
|
|
|
@ -68,7 +68,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGetDeviceMotionEvents(ClientPtr client)
|
SProcXGetDeviceMotionEvents(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetDeviceMotionEventsReq);
|
REQUEST(xGetDeviceMotionEventsReq);
|
||||||
|
@ -162,7 +162,7 @@ ProcXGetDeviceMotionEvents(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXGetDeviceMotionEvents(ClientPtr client, int size,
|
SRepXGetDeviceMotionEvents(ClientPtr client, int size,
|
||||||
xGetDeviceMotionEventsReply * rep)
|
xGetDeviceMotionEventsReply * rep)
|
||||||
{
|
{
|
||||||
|
|
|
@ -74,7 +74,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXListInputDevices(ClientPtr client)
|
SProcXListInputDevices(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xListInputDevicesReq);
|
REQUEST(xListInputDevicesReq);
|
||||||
|
@ -413,7 +413,7 @@ ProcXListInputDevices(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXListInputDevices(ClientPtr client, int size, xListInputDevicesReply * rep)
|
SRepXListInputDevices(ClientPtr client, int size, xListInputDevicesReply * rep)
|
||||||
{
|
{
|
||||||
swaps(&rep->sequenceNumber);
|
swaps(&rep->sequenceNumber);
|
||||||
|
|
|
@ -73,7 +73,7 @@ extern CARD8 event_base[];
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXOpenDevice(ClientPtr client)
|
SProcXOpenDevice(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xOpenDeviceReq);
|
REQUEST(xOpenDeviceReq);
|
||||||
|
@ -163,7 +163,7 @@ ProcXOpenDevice(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXOpenDevice(ClientPtr client, int size, xOpenDeviceReply * rep)
|
SRepXOpenDevice(ClientPtr client, int size, xOpenDeviceReply * rep)
|
||||||
{
|
{
|
||||||
swaps(&rep->sequenceNumber);
|
swaps(&rep->sequenceNumber);
|
||||||
|
|
|
@ -53,7 +53,7 @@ from The Open Group.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXQueryDeviceState(ClientPtr client)
|
SProcXQueryDeviceState(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xQueryDeviceStateReq);
|
REQUEST(xQueryDeviceStateReq);
|
||||||
|
@ -179,7 +179,7 @@ ProcXQueryDeviceState(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXQueryDeviceState(ClientPtr client, int size, xQueryDeviceStateReply * rep)
|
SRepXQueryDeviceState(ClientPtr client, int size, xQueryDeviceStateReply * rep)
|
||||||
{
|
{
|
||||||
swaps(&rep->sequenceNumber);
|
swaps(&rep->sequenceNumber);
|
||||||
|
|
|
@ -119,7 +119,7 @@ HandleDevicePresenceMask(ClientPtr client, WindowPtr win,
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXSelectExtensionEvent(ClientPtr client)
|
SProcXSelectExtensionEvent(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSelectExtensionEventReq);
|
REQUEST(xSelectExtensionEventReq);
|
||||||
|
|
|
@ -73,7 +73,7 @@ extern int lastEvent; /* Defined in extension.c */
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXSendExtensionEvent(ClientPtr client)
|
SProcXSendExtensionEvent(ClientPtr client)
|
||||||
{
|
{
|
||||||
CARD32 *p;
|
CARD32 *p;
|
||||||
|
|
|
@ -68,7 +68,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXSetDeviceButtonMapping(ClientPtr client)
|
SProcXSetDeviceButtonMapping(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSetDeviceButtonMappingReq);
|
REQUEST(xSetDeviceButtonMappingReq);
|
||||||
|
@ -130,7 +130,7 @@ ProcXSetDeviceButtonMapping(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXSetDeviceButtonMapping(ClientPtr client, int size,
|
SRepXSetDeviceButtonMapping(ClientPtr client, int size,
|
||||||
xSetDeviceButtonMappingReply * rep)
|
xSetDeviceButtonMappingReply * rep)
|
||||||
{
|
{
|
||||||
|
|
|
@ -68,7 +68,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXSetDeviceValuators(ClientPtr client)
|
SProcXSetDeviceValuators(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSetDeviceValuatorsReq);
|
REQUEST(xSetDeviceValuatorsReq);
|
||||||
|
@ -137,7 +137,7 @@ ProcXSetDeviceValuators(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXSetDeviceValuators(ClientPtr client, int size,
|
SRepXSetDeviceValuators(ClientPtr client, int size,
|
||||||
xSetDeviceValuatorsReply * rep)
|
xSetDeviceValuatorsReply * rep)
|
||||||
{
|
{
|
||||||
|
|
|
@ -71,7 +71,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXSetDeviceFocus(ClientPtr client)
|
SProcXSetDeviceFocus(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSetDeviceFocusReq);
|
REQUEST(xSetDeviceFocusReq);
|
||||||
|
|
|
@ -70,7 +70,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXSetDeviceModifierMapping(ClientPtr client)
|
SProcXSetDeviceModifierMapping(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSetDeviceModifierMappingReq);
|
REQUEST(xSetDeviceModifierMappingReq);
|
||||||
|
@ -136,7 +136,7 @@ ProcXSetDeviceModifierMapping(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXSetDeviceModifierMapping(ClientPtr client, int size,
|
SRepXSetDeviceModifierMapping(ClientPtr client, int size,
|
||||||
xSetDeviceModifierMappingReply * rep)
|
xSetDeviceModifierMappingReply * rep)
|
||||||
{
|
{
|
||||||
|
|
|
@ -68,7 +68,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXSetDeviceMode(ClientPtr client)
|
SProcXSetDeviceMode(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSetDeviceModeReq);
|
REQUEST(xSetDeviceModeReq);
|
||||||
|
@ -138,7 +138,7 @@ ProcXSetDeviceMode(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXSetDeviceMode(ClientPtr client, int size, xSetDeviceModeReply * rep)
|
SRepXSetDeviceMode(ClientPtr client, int size, xSetDeviceModeReply * rep)
|
||||||
{
|
{
|
||||||
swaps(&rep->sequenceNumber);
|
swaps(&rep->sequenceNumber);
|
||||||
|
|
|
@ -67,7 +67,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXUngrabDevice(ClientPtr client)
|
SProcXUngrabDevice(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xUngrabDeviceReq);
|
REQUEST(xUngrabDeviceReq);
|
||||||
|
|
|
@ -73,7 +73,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXUngrabDeviceButton(ClientPtr client)
|
SProcXUngrabDeviceButton(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xUngrabDeviceButtonReq);
|
REQUEST(xUngrabDeviceButtonReq);
|
||||||
|
|
|
@ -75,7 +75,7 @@ SOFTWARE.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXUngrabDeviceKey(ClientPtr client)
|
SProcXUngrabDeviceKey(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xUngrabDeviceKeyReq);
|
REQUEST(xUngrabDeviceKeyReq);
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
#include "exevents.h"
|
#include "exevents.h"
|
||||||
#include "xiallowev.h"
|
#include "xiallowev.h"
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIAllowEvents(ClientPtr client)
|
SProcXIAllowEvents(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIAllowEventsReq);
|
REQUEST(xXIAllowEventsReq);
|
||||||
|
|
|
@ -823,7 +823,7 @@ XIDestroyPointerBarrier(ClientPtr client,
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIBarrierReleasePointer(ClientPtr client)
|
SProcXIBarrierReleasePointer(ClientPtr client)
|
||||||
{
|
{
|
||||||
xXIBarrierReleasePointerInfo *info;
|
xXIBarrierReleasePointerInfo *info;
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIChangeCursor(ClientPtr client)
|
SProcXIChangeCursor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIChangeCursorReq);
|
REQUEST(xXIChangeCursorReq);
|
||||||
|
|
|
@ -127,7 +127,7 @@ XISendDeviceHierarchyEvent(int flags[MAXDEVICES])
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIChangeHierarchy(ClientPtr client)
|
SProcXIChangeHierarchy(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIChangeHierarchyReq);
|
REQUEST(xXIChangeHierarchyReq);
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
* setting.
|
* setting.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIGetClientPointer(ClientPtr client)
|
SProcXIGetClientPointer(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIGetClientPointerReq);
|
REQUEST(xXIGetClientPointerReq);
|
||||||
|
@ -96,7 +96,7 @@ ProcXIGetClientPointer(ClientPtr client)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXIGetClientPointer(ClientPtr client, int size,
|
SRepXIGetClientPointer(ClientPtr client, int size,
|
||||||
xXIGetClientPointerReply * rep)
|
xXIGetClientPointerReply * rep)
|
||||||
{
|
{
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
#include "xigrabdev.h"
|
#include "xigrabdev.h"
|
||||||
#include "inpututils.h"
|
#include "inpututils.h"
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIGrabDevice(ClientPtr client)
|
SProcXIGrabDevice(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIGrabDeviceReq);
|
REQUEST(xXIGrabDeviceReq);
|
||||||
|
@ -132,7 +132,7 @@ ProcXIGrabDevice(ClientPtr client)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIUngrabDevice(ClientPtr client)
|
SProcXIUngrabDevice(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIUngrabDeviceReq);
|
REQUEST(xXIUngrabDeviceReq);
|
||||||
|
@ -171,7 +171,7 @@ ProcXIUngrabDevice(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXIGrabDevice(ClientPtr client, int size, xXIGrabDeviceReply * rep)
|
SRepXIGrabDevice(ClientPtr client, int size, xXIGrabDeviceReply * rep)
|
||||||
{
|
{
|
||||||
swaps(&rep->sequenceNumber);
|
swaps(&rep->sequenceNumber);
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "inpututils.h"
|
#include "inpututils.h"
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIPassiveGrabDevice(ClientPtr client)
|
SProcXIPassiveGrabDevice(ClientPtr client)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -238,7 +238,7 @@ ProcXIPassiveGrabDevice(ClientPtr client)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXIPassiveGrabDevice(ClientPtr client, int size,
|
SRepXIPassiveGrabDevice(ClientPtr client, int size,
|
||||||
xXIPassiveGrabDeviceReply * rep)
|
xXIPassiveGrabDeviceReply * rep)
|
||||||
{
|
{
|
||||||
|
@ -249,7 +249,7 @@ SRepXIPassiveGrabDevice(ClientPtr client, int size,
|
||||||
WriteToClient(client, size, rep);
|
WriteToClient(client, size, rep);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIPassiveUngrabDevice(ClientPtr client)
|
SProcXIPassiveUngrabDevice(ClientPtr client)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -1013,7 +1013,7 @@ ProcXGetDeviceProperty(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXListDeviceProperties(ClientPtr client)
|
SProcXListDeviceProperties(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xListDevicePropertiesReq);
|
REQUEST(xListDevicePropertiesReq);
|
||||||
|
@ -1023,7 +1023,7 @@ SProcXListDeviceProperties(ClientPtr client)
|
||||||
return (ProcXListDeviceProperties(client));
|
return (ProcXListDeviceProperties(client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXChangeDeviceProperty(ClientPtr client)
|
SProcXChangeDeviceProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xChangeDevicePropertyReq);
|
REQUEST(xChangeDevicePropertyReq);
|
||||||
|
@ -1036,7 +1036,7 @@ SProcXChangeDeviceProperty(ClientPtr client)
|
||||||
return (ProcXChangeDeviceProperty(client));
|
return (ProcXChangeDeviceProperty(client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXDeleteDeviceProperty(ClientPtr client)
|
SProcXDeleteDeviceProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDeleteDevicePropertyReq);
|
REQUEST(xDeleteDevicePropertyReq);
|
||||||
|
@ -1047,7 +1047,7 @@ SProcXDeleteDeviceProperty(ClientPtr client)
|
||||||
return (ProcXDeleteDeviceProperty(client));
|
return (ProcXDeleteDeviceProperty(client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXGetDeviceProperty(ClientPtr client)
|
SProcXGetDeviceProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetDevicePropertyReq);
|
REQUEST(xGetDevicePropertyReq);
|
||||||
|
@ -1063,7 +1063,7 @@ SProcXGetDeviceProperty(ClientPtr client)
|
||||||
|
|
||||||
/* Reply swapping */
|
/* Reply swapping */
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXListDeviceProperties(ClientPtr client, int size,
|
SRepXListDeviceProperties(ClientPtr client, int size,
|
||||||
xListDevicePropertiesReply * rep)
|
xListDevicePropertiesReply * rep)
|
||||||
{
|
{
|
||||||
|
@ -1074,7 +1074,7 @@ SRepXListDeviceProperties(ClientPtr client, int size,
|
||||||
WriteToClient(client, size, rep);
|
WriteToClient(client, size, rep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXGetDeviceProperty(ClientPtr client, int size,
|
SRepXGetDeviceProperty(ClientPtr client, int size,
|
||||||
xGetDevicePropertyReply * rep)
|
xGetDevicePropertyReply * rep)
|
||||||
{
|
{
|
||||||
|
@ -1252,7 +1252,7 @@ ProcXIGetProperty(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIListProperties(ClientPtr client)
|
SProcXIListProperties(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIListPropertiesReq);
|
REQUEST(xXIListPropertiesReq);
|
||||||
|
@ -1263,7 +1263,7 @@ SProcXIListProperties(ClientPtr client)
|
||||||
return (ProcXIListProperties(client));
|
return (ProcXIListProperties(client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIChangeProperty(ClientPtr client)
|
SProcXIChangeProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIChangePropertyReq);
|
REQUEST(xXIChangePropertyReq);
|
||||||
|
@ -1277,7 +1277,7 @@ SProcXIChangeProperty(ClientPtr client)
|
||||||
return (ProcXIChangeProperty(client));
|
return (ProcXIChangeProperty(client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIDeleteProperty(ClientPtr client)
|
SProcXIDeleteProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIDeletePropertyReq);
|
REQUEST(xXIDeletePropertyReq);
|
||||||
|
@ -1289,7 +1289,7 @@ SProcXIDeleteProperty(ClientPtr client)
|
||||||
return (ProcXIDeleteProperty(client));
|
return (ProcXIDeleteProperty(client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIGetProperty(ClientPtr client)
|
SProcXIGetProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIGetPropertyReq);
|
REQUEST(xXIGetPropertyReq);
|
||||||
|
@ -1304,7 +1304,7 @@ SProcXIGetProperty(ClientPtr client)
|
||||||
return (ProcXIGetProperty(client));
|
return (ProcXIGetProperty(client));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXIListProperties(ClientPtr client, int size, xXIListPropertiesReply * rep)
|
SRepXIListProperties(ClientPtr client, int size, xXIListPropertiesReply * rep)
|
||||||
{
|
{
|
||||||
swaps(&rep->sequenceNumber);
|
swaps(&rep->sequenceNumber);
|
||||||
|
@ -1314,7 +1314,7 @@ SRepXIListProperties(ClientPtr client, int size, xXIListPropertiesReply * rep)
|
||||||
WriteToClient(client, size, rep);
|
WriteToClient(client, size, rep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXIGetProperty(ClientPtr client, int size, xXIGetPropertyReply * rep)
|
SRepXIGetProperty(ClientPtr client, int size, xXIGetPropertyReply * rep)
|
||||||
{
|
{
|
||||||
swaps(&rep->sequenceNumber);
|
swaps(&rep->sequenceNumber);
|
||||||
|
|
|
@ -50,7 +50,7 @@ static int
|
||||||
ListDeviceInfo(ClientPtr client, DeviceIntPtr dev, xXIDeviceInfo * info);
|
ListDeviceInfo(ClientPtr client, DeviceIntPtr dev, xXIDeviceInfo * info);
|
||||||
static int SizeDeviceInfo(DeviceIntPtr dev);
|
static int SizeDeviceInfo(DeviceIntPtr dev);
|
||||||
static void SwapDeviceInfo(DeviceIntPtr dev, xXIDeviceInfo * info);
|
static void SwapDeviceInfo(DeviceIntPtr dev, xXIDeviceInfo * info);
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIQueryDevice(ClientPtr client)
|
SProcXIQueryDevice(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIQueryDeviceReq);
|
REQUEST(xXIQueryDeviceReq);
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIQueryPointer(ClientPtr client)
|
SProcXIQueryPointer(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIQueryPointerReq);
|
REQUEST(xXIQueryPointerReq);
|
||||||
|
|
|
@ -130,7 +130,7 @@ ProcXIQueryVersion(ClientPtr client)
|
||||||
|
|
||||||
/* Swapping routines */
|
/* Swapping routines */
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIQueryVersion(ClientPtr client)
|
SProcXIQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIQueryVersionReq);
|
REQUEST(xXIQueryVersionReq);
|
||||||
|
@ -141,7 +141,7 @@ SProcXIQueryVersion(ClientPtr client)
|
||||||
return (ProcXIQueryVersion(client));
|
return (ProcXIQueryVersion(client));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SRepXIQueryVersion(ClientPtr client, int size, xXIQueryVersionReply * rep)
|
SRepXIQueryVersion(ClientPtr client, int size, xXIQueryVersionReply * rep)
|
||||||
{
|
{
|
||||||
swaps(&rep->sequenceNumber);
|
swaps(&rep->sequenceNumber);
|
||||||
|
|
|
@ -110,7 +110,7 @@ XICheckInvalidMaskBits(ClientPtr client, unsigned char *mask, int len)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXISelectEvents(ClientPtr client)
|
SProcXISelectEvents(ClientPtr client)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -275,7 +275,7 @@ ProcXISelectEvents(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIGetSelectedEvents(ClientPtr client)
|
SProcXIGetSelectedEvents(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIGetSelectedEventsReq);
|
REQUEST(xXIGetSelectedEventsReq);
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
#include "xisetclientpointer.h"
|
#include "xisetclientpointer.h"
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXISetClientPointer(ClientPtr client)
|
SProcXISetClientPointer(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXISetClientPointerReq);
|
REQUEST(xXISetClientPointerReq);
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
#include "exglobals.h" /* BadDevice */
|
#include "exglobals.h" /* BadDevice */
|
||||||
#include "xisetdevfocus.h"
|
#include "xisetdevfocus.h"
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXISetFocus(ClientPtr client)
|
SProcXISetFocus(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXISetFocusReq);
|
REQUEST(xXISetFocusReq);
|
||||||
|
@ -54,7 +54,7 @@ SProcXISetFocus(ClientPtr client)
|
||||||
return ProcXISetFocus(client);
|
return ProcXISetFocus(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIGetFocus(ClientPtr client)
|
SProcXIGetFocus(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIGetFocusReq);
|
REQUEST(xXIGetFocusReq);
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXIWarpPointer(ClientPtr client)
|
SProcXIWarpPointer(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXIWarpPointerReq);
|
REQUEST(xXIWarpPointerReq);
|
||||||
|
|
|
@ -375,7 +375,7 @@ ProcCompositeDispatch(ClientPtr client)
|
||||||
return BadRequest;
|
return BadRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcCompositeQueryVersion(ClientPtr client)
|
SProcCompositeQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCompositeQueryVersionReq);
|
REQUEST(xCompositeQueryVersionReq);
|
||||||
|
@ -387,7 +387,7 @@ SProcCompositeQueryVersion(ClientPtr client)
|
||||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcCompositeRedirectWindow(ClientPtr client)
|
SProcCompositeRedirectWindow(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCompositeRedirectWindowReq);
|
REQUEST(xCompositeRedirectWindowReq);
|
||||||
|
@ -398,7 +398,7 @@ SProcCompositeRedirectWindow(ClientPtr client)
|
||||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcCompositeRedirectSubwindows(ClientPtr client)
|
SProcCompositeRedirectSubwindows(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCompositeRedirectSubwindowsReq);
|
REQUEST(xCompositeRedirectSubwindowsReq);
|
||||||
|
@ -409,7 +409,7 @@ SProcCompositeRedirectSubwindows(ClientPtr client)
|
||||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcCompositeUnredirectWindow(ClientPtr client)
|
SProcCompositeUnredirectWindow(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCompositeUnredirectWindowReq);
|
REQUEST(xCompositeUnredirectWindowReq);
|
||||||
|
@ -420,7 +420,7 @@ SProcCompositeUnredirectWindow(ClientPtr client)
|
||||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcCompositeUnredirectSubwindows(ClientPtr client)
|
SProcCompositeUnredirectSubwindows(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCompositeUnredirectSubwindowsReq);
|
REQUEST(xCompositeUnredirectSubwindowsReq);
|
||||||
|
@ -431,7 +431,7 @@ SProcCompositeUnredirectSubwindows(ClientPtr client)
|
||||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcCompositeCreateRegionFromBorderClip(ClientPtr client)
|
SProcCompositeCreateRegionFromBorderClip(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCompositeCreateRegionFromBorderClipReq);
|
REQUEST(xCompositeCreateRegionFromBorderClipReq);
|
||||||
|
@ -443,7 +443,7 @@ SProcCompositeCreateRegionFromBorderClip(ClientPtr client)
|
||||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcCompositeNameWindowPixmap(ClientPtr client)
|
SProcCompositeNameWindowPixmap(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCompositeNameWindowPixmapReq);
|
REQUEST(xCompositeNameWindowPixmapReq);
|
||||||
|
@ -455,7 +455,7 @@ SProcCompositeNameWindowPixmap(ClientPtr client)
|
||||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcCompositeGetOverlayWindow(ClientPtr client)
|
SProcCompositeGetOverlayWindow(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCompositeGetOverlayWindowReq);
|
REQUEST(xCompositeGetOverlayWindowReq);
|
||||||
|
@ -466,7 +466,7 @@ SProcCompositeGetOverlayWindow(ClientPtr client)
|
||||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcCompositeReleaseOverlayWindow(ClientPtr client)
|
SProcCompositeReleaseOverlayWindow(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCompositeReleaseOverlayWindowReq);
|
REQUEST(xCompositeReleaseOverlayWindowReq);
|
||||||
|
@ -477,17 +477,20 @@ SProcCompositeReleaseOverlayWindow(ClientPtr client)
|
||||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int (*SProcCompositeVector[CompositeNumberRequests]) (ClientPtr) = {
|
|
||||||
SProcCompositeQueryVersion,
|
|
||||||
SProcCompositeRedirectWindow,
|
|
||||||
SProcCompositeRedirectSubwindows,
|
|
||||||
SProcCompositeUnredirectWindow,
|
|
||||||
SProcCompositeUnredirectSubwindows,
|
|
||||||
SProcCompositeCreateRegionFromBorderClip,
|
|
||||||
SProcCompositeNameWindowPixmap,
|
|
||||||
SProcCompositeGetOverlayWindow, SProcCompositeReleaseOverlayWindow,};
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
(*SProcCompositeVector[CompositeNumberRequests]) (ClientPtr) = {
|
||||||
|
SProcCompositeQueryVersion,
|
||||||
|
SProcCompositeRedirectWindow,
|
||||||
|
SProcCompositeRedirectSubwindows,
|
||||||
|
SProcCompositeUnredirectWindow,
|
||||||
|
SProcCompositeUnredirectSubwindows,
|
||||||
|
SProcCompositeCreateRegionFromBorderClip,
|
||||||
|
SProcCompositeNameWindowPixmap,
|
||||||
|
SProcCompositeGetOverlayWindow,
|
||||||
|
SProcCompositeReleaseOverlayWindow,
|
||||||
|
};
|
||||||
|
|
||||||
|
static int _X_COLD
|
||||||
SProcCompositeDispatch(ClientPtr client)
|
SProcCompositeDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -489,7 +489,7 @@ ProcDamageDispatch(ClientPtr client)
|
||||||
return (*ProcDamageVector[stuff->damageReqType]) (client);
|
return (*ProcDamageVector[stuff->damageReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDamageQueryVersion(ClientPtr client)
|
SProcDamageQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDamageQueryVersionReq);
|
REQUEST(xDamageQueryVersionReq);
|
||||||
|
@ -501,7 +501,7 @@ SProcDamageQueryVersion(ClientPtr client)
|
||||||
return (*ProcDamageVector[stuff->damageReqType]) (client);
|
return (*ProcDamageVector[stuff->damageReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDamageCreate(ClientPtr client)
|
SProcDamageCreate(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDamageCreateReq);
|
REQUEST(xDamageCreateReq);
|
||||||
|
@ -513,7 +513,7 @@ SProcDamageCreate(ClientPtr client)
|
||||||
return (*ProcDamageVector[stuff->damageReqType]) (client);
|
return (*ProcDamageVector[stuff->damageReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDamageDestroy(ClientPtr client)
|
SProcDamageDestroy(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDamageDestroyReq);
|
REQUEST(xDamageDestroyReq);
|
||||||
|
@ -524,7 +524,7 @@ SProcDamageDestroy(ClientPtr client)
|
||||||
return (*ProcDamageVector[stuff->damageReqType]) (client);
|
return (*ProcDamageVector[stuff->damageReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDamageSubtract(ClientPtr client)
|
SProcDamageSubtract(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDamageSubtractReq);
|
REQUEST(xDamageSubtractReq);
|
||||||
|
@ -537,7 +537,7 @@ SProcDamageSubtract(ClientPtr client)
|
||||||
return (*ProcDamageVector[stuff->damageReqType]) (client);
|
return (*ProcDamageVector[stuff->damageReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDamageAdd(ClientPtr client)
|
SProcDamageAdd(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDamageAddReq);
|
REQUEST(xDamageAddReq);
|
||||||
|
@ -559,7 +559,7 @@ static int (*SProcDamageVector[XDamageNumberRequests]) (ClientPtr) = {
|
||||||
SProcDamageAdd,
|
SProcDamageAdd,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDamageDispatch(ClientPtr client)
|
SProcDamageDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDamageReq);
|
REQUEST(xDamageReq);
|
||||||
|
@ -584,7 +584,7 @@ FreeDamageExt(void *value, XID did)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SDamageNotifyEvent(xDamageNotifyEvent * from, xDamageNotifyEvent * to)
|
SDamageNotifyEvent(xDamageNotifyEvent * from, xDamageNotifyEvent * to)
|
||||||
{
|
{
|
||||||
to->type = from->type;
|
to->type = from->type;
|
||||||
|
|
14
dbe/dbe.c
14
dbe/dbe.c
|
@ -811,7 +811,7 @@ ProcDbeDispatch(ClientPtr client)
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDbeGetVersion(ClientPtr client)
|
SProcDbeGetVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDbeGetVersionReq);
|
REQUEST(xDbeGetVersionReq);
|
||||||
|
@ -844,7 +844,7 @@ SProcDbeGetVersion(ClientPtr client)
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDbeAllocateBackBufferName(ClientPtr client)
|
SProcDbeAllocateBackBufferName(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDbeAllocateBackBufferNameReq);
|
REQUEST(xDbeAllocateBackBufferNameReq);
|
||||||
|
@ -877,7 +877,7 @@ SProcDbeAllocateBackBufferName(ClientPtr client)
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDbeDeallocateBackBufferName(ClientPtr client)
|
SProcDbeDeallocateBackBufferName(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDbeDeallocateBackBufferNameReq);
|
REQUEST(xDbeDeallocateBackBufferNameReq);
|
||||||
|
@ -912,7 +912,7 @@ SProcDbeDeallocateBackBufferName(ClientPtr client)
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDbeSwapBuffers(ClientPtr client)
|
SProcDbeSwapBuffers(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDbeSwapBuffersReq);
|
REQUEST(xDbeSwapBuffersReq);
|
||||||
|
@ -960,7 +960,7 @@ SProcDbeSwapBuffers(ClientPtr client)
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDbeGetVisualInfo(ClientPtr client)
|
SProcDbeGetVisualInfo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDbeGetVisualInfoReq);
|
REQUEST(xDbeGetVisualInfoReq);
|
||||||
|
@ -991,7 +991,7 @@ SProcDbeGetVisualInfo(ClientPtr client)
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDbeGetBackBufferAttributes(ClientPtr client)
|
SProcDbeGetBackBufferAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDbeGetBackBufferAttributesReq);
|
REQUEST(xDbeGetBackBufferAttributesReq);
|
||||||
|
@ -1015,7 +1015,7 @@ SProcDbeGetBackBufferAttributes(ClientPtr client)
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDbeDispatch(ClientPtr client)
|
SProcDbeDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
164
dix/swaprep.c
164
dix/swaprep.c
|
@ -68,7 +68,7 @@ static void SwapFont(xQueryFontReply * pr, Bool hasGlyphs);
|
||||||
*
|
*
|
||||||
* \param size size in bytes
|
* \param size size in bytes
|
||||||
*/
|
*/
|
||||||
void
|
void _X_COLD
|
||||||
Swap32Write(ClientPtr pClient, int size, CARD32 *pbuf)
|
Swap32Write(ClientPtr pClient, int size, CARD32 *pbuf)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -87,7 +87,7 @@ Swap32Write(ClientPtr pClient, int size, CARD32 *pbuf)
|
||||||
*
|
*
|
||||||
* \param size size in bytes
|
* \param size size in bytes
|
||||||
*/
|
*/
|
||||||
void
|
void _X_COLD
|
||||||
CopySwap32Write(ClientPtr pClient, int size, CARD32 *pbuf)
|
CopySwap32Write(ClientPtr pClient, int size, CARD32 *pbuf)
|
||||||
{
|
{
|
||||||
int bufsize = size;
|
int bufsize = size;
|
||||||
|
@ -134,7 +134,7 @@ CopySwap32Write(ClientPtr pClient, int size, CARD32 *pbuf)
|
||||||
*
|
*
|
||||||
* \param size size in bytes
|
* \param size size in bytes
|
||||||
*/
|
*/
|
||||||
void
|
void _X_COLD
|
||||||
CopySwap16Write(ClientPtr pClient, int size, short *pbuf)
|
CopySwap16Write(ClientPtr pClient, int size, short *pbuf)
|
||||||
{
|
{
|
||||||
int bufsize = size;
|
int bufsize = size;
|
||||||
|
@ -178,7 +178,7 @@ CopySwap16Write(ClientPtr pClient, int size, short *pbuf)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Extra-small reply */
|
/* Extra-small reply */
|
||||||
void
|
void _X_COLD
|
||||||
SGenericReply(ClientPtr pClient, int size, xGenericReply * pRep)
|
SGenericReply(ClientPtr pClient, int size, xGenericReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -186,7 +186,7 @@ SGenericReply(ClientPtr pClient, int size, xGenericReply * pRep)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Extra-large reply */
|
/* Extra-large reply */
|
||||||
void
|
void _X_COLD
|
||||||
SGetWindowAttributesReply(ClientPtr pClient, int size,
|
SGetWindowAttributesReply(ClientPtr pClient, int size,
|
||||||
xGetWindowAttributesReply * pRep)
|
xGetWindowAttributesReply * pRep)
|
||||||
{
|
{
|
||||||
|
@ -203,7 +203,7 @@ SGetWindowAttributesReply(ClientPtr pClient, int size,
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetGeometryReply(ClientPtr pClient, int size, xGetGeometryReply * pRep)
|
SGetGeometryReply(ClientPtr pClient, int size, xGetGeometryReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -216,7 +216,7 @@ SGetGeometryReply(ClientPtr pClient, int size, xGetGeometryReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SQueryTreeReply(ClientPtr pClient, int size, xQueryTreeReply * pRep)
|
SQueryTreeReply(ClientPtr pClient, int size, xQueryTreeReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -227,7 +227,7 @@ SQueryTreeReply(ClientPtr pClient, int size, xQueryTreeReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SInternAtomReply(ClientPtr pClient, int size, xInternAtomReply * pRep)
|
SInternAtomReply(ClientPtr pClient, int size, xInternAtomReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -235,7 +235,7 @@ SInternAtomReply(ClientPtr pClient, int size, xInternAtomReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetAtomNameReply(ClientPtr pClient, int size, xGetAtomNameReply * pRep)
|
SGetAtomNameReply(ClientPtr pClient, int size, xGetAtomNameReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -244,7 +244,7 @@ SGetAtomNameReply(ClientPtr pClient, int size, xGetAtomNameReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetPropertyReply(ClientPtr pClient, int size, xGetPropertyReply * pRep)
|
SGetPropertyReply(ClientPtr pClient, int size, xGetPropertyReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -255,7 +255,7 @@ SGetPropertyReply(ClientPtr pClient, int size, xGetPropertyReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SListPropertiesReply(ClientPtr pClient, int size, xListPropertiesReply * pRep)
|
SListPropertiesReply(ClientPtr pClient, int size, xListPropertiesReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -264,7 +264,7 @@ SListPropertiesReply(ClientPtr pClient, int size, xListPropertiesReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetSelectionOwnerReply(ClientPtr pClient, int size,
|
SGetSelectionOwnerReply(ClientPtr pClient, int size,
|
||||||
xGetSelectionOwnerReply * pRep)
|
xGetSelectionOwnerReply * pRep)
|
||||||
{
|
{
|
||||||
|
@ -273,7 +273,7 @@ SGetSelectionOwnerReply(ClientPtr pClient, int size,
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SQueryPointerReply(ClientPtr pClient, int size, xQueryPointerReply * pRep)
|
SQueryPointerReply(ClientPtr pClient, int size, xQueryPointerReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -287,7 +287,7 @@ SQueryPointerReply(ClientPtr pClient, int size, xQueryPointerReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SwapTimecoord(xTimecoord * pCoord)
|
SwapTimecoord(xTimecoord * pCoord)
|
||||||
{
|
{
|
||||||
swapl(&pCoord->time);
|
swapl(&pCoord->time);
|
||||||
|
@ -295,7 +295,7 @@ SwapTimecoord(xTimecoord * pCoord)
|
||||||
swaps(&pCoord->y);
|
swaps(&pCoord->y);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SwapTimeCoordWrite(ClientPtr pClient, int size, xTimecoord * pRep)
|
SwapTimeCoordWrite(ClientPtr pClient, int size, xTimecoord * pRep)
|
||||||
{
|
{
|
||||||
int i, n;
|
int i, n;
|
||||||
|
@ -311,7 +311,7 @@ SwapTimeCoordWrite(ClientPtr pClient, int size, xTimecoord * pRep)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetMotionEventsReply(ClientPtr pClient, int size, xGetMotionEventsReply * pRep)
|
SGetMotionEventsReply(ClientPtr pClient, int size, xGetMotionEventsReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -320,7 +320,7 @@ SGetMotionEventsReply(ClientPtr pClient, int size, xGetMotionEventsReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
STranslateCoordsReply(ClientPtr pClient, int size, xTranslateCoordsReply * pRep)
|
STranslateCoordsReply(ClientPtr pClient, int size, xTranslateCoordsReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -330,7 +330,7 @@ STranslateCoordsReply(ClientPtr pClient, int size, xTranslateCoordsReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetInputFocusReply(ClientPtr pClient, int size, xGetInputFocusReply * pRep)
|
SGetInputFocusReply(ClientPtr pClient, int size, xGetInputFocusReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -339,7 +339,7 @@ SGetInputFocusReply(ClientPtr pClient, int size, xGetInputFocusReply * pRep)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* extra long reply */
|
/* extra long reply */
|
||||||
void
|
void _X_COLD
|
||||||
SQueryKeymapReply(ClientPtr pClient, int size, xQueryKeymapReply * pRep)
|
SQueryKeymapReply(ClientPtr pClient, int size, xQueryKeymapReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -347,7 +347,7 @@ SQueryKeymapReply(ClientPtr pClient, int size, xQueryKeymapReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SwapCharInfo(xCharInfo * pInfo)
|
SwapCharInfo(xCharInfo * pInfo)
|
||||||
{
|
{
|
||||||
swaps(&pInfo->leftSideBearing);
|
swaps(&pInfo->leftSideBearing);
|
||||||
|
@ -358,7 +358,7 @@ SwapCharInfo(xCharInfo * pInfo)
|
||||||
swaps(&pInfo->attributes);
|
swaps(&pInfo->attributes);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SwapFontInfo(xQueryFontReply * pr)
|
SwapFontInfo(xQueryFontReply * pr)
|
||||||
{
|
{
|
||||||
swaps(&pr->minCharOrByte2);
|
swaps(&pr->minCharOrByte2);
|
||||||
|
@ -372,7 +372,7 @@ SwapFontInfo(xQueryFontReply * pr)
|
||||||
swapl(&pr->nCharInfos);
|
swapl(&pr->nCharInfos);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SwapFont(xQueryFontReply * pr, Bool hasGlyphs)
|
SwapFont(xQueryFontReply * pr, Bool hasGlyphs)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
@ -401,14 +401,14 @@ SwapFont(xQueryFontReply * pr, Bool hasGlyphs)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SQueryFontReply(ClientPtr pClient, int size, xQueryFontReply * pRep)
|
SQueryFontReply(ClientPtr pClient, int size, xQueryFontReply * pRep)
|
||||||
{
|
{
|
||||||
SwapFont(pRep, TRUE);
|
SwapFont(pRep, TRUE);
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SQueryTextExtentsReply(ClientPtr pClient, int size,
|
SQueryTextExtentsReply(ClientPtr pClient, int size,
|
||||||
xQueryTextExtentsReply * pRep)
|
xQueryTextExtentsReply * pRep)
|
||||||
{
|
{
|
||||||
|
@ -423,7 +423,7 @@ SQueryTextExtentsReply(ClientPtr pClient, int size,
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SListFontsReply(ClientPtr pClient, int size, xListFontsReply * pRep)
|
SListFontsReply(ClientPtr pClient, int size, xListFontsReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -432,7 +432,7 @@ SListFontsReply(ClientPtr pClient, int size, xListFontsReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SListFontsWithInfoReply(ClientPtr pClient, int size,
|
SListFontsWithInfoReply(ClientPtr pClient, int size,
|
||||||
xListFontsWithInfoReply * pRep)
|
xListFontsWithInfoReply * pRep)
|
||||||
{
|
{
|
||||||
|
@ -440,7 +440,7 @@ SListFontsWithInfoReply(ClientPtr pClient, int size,
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetFontPathReply(ClientPtr pClient, int size, xGetFontPathReply * pRep)
|
SGetFontPathReply(ClientPtr pClient, int size, xGetFontPathReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -449,7 +449,7 @@ SGetFontPathReply(ClientPtr pClient, int size, xGetFontPathReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetImageReply(ClientPtr pClient, int size, xGetImageReply * pRep)
|
SGetImageReply(ClientPtr pClient, int size, xGetImageReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -459,7 +459,7 @@ SGetImageReply(ClientPtr pClient, int size, xGetImageReply * pRep)
|
||||||
/* Fortunately, image doesn't need swapping */
|
/* Fortunately, image doesn't need swapping */
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SListInstalledColormapsReply(ClientPtr pClient, int size,
|
SListInstalledColormapsReply(ClientPtr pClient, int size,
|
||||||
xListInstalledColormapsReply * pRep)
|
xListInstalledColormapsReply * pRep)
|
||||||
{
|
{
|
||||||
|
@ -469,7 +469,7 @@ SListInstalledColormapsReply(ClientPtr pClient, int size,
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SAllocColorReply(ClientPtr pClient, int size, xAllocColorReply * pRep)
|
SAllocColorReply(ClientPtr pClient, int size, xAllocColorReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -480,7 +480,7 @@ SAllocColorReply(ClientPtr pClient, int size, xAllocColorReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SAllocNamedColorReply(ClientPtr pClient, int size, xAllocNamedColorReply * pRep)
|
SAllocNamedColorReply(ClientPtr pClient, int size, xAllocNamedColorReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -494,7 +494,7 @@ SAllocNamedColorReply(ClientPtr pClient, int size, xAllocNamedColorReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SAllocColorCellsReply(ClientPtr pClient, int size, xAllocColorCellsReply * pRep)
|
SAllocColorCellsReply(ClientPtr pClient, int size, xAllocColorCellsReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -504,7 +504,7 @@ SAllocColorCellsReply(ClientPtr pClient, int size, xAllocColorCellsReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SAllocColorPlanesReply(ClientPtr pClient, int size,
|
SAllocColorPlanesReply(ClientPtr pClient, int size,
|
||||||
xAllocColorPlanesReply * pRep)
|
xAllocColorPlanesReply * pRep)
|
||||||
{
|
{
|
||||||
|
@ -517,7 +517,7 @@ SAllocColorPlanesReply(ClientPtr pClient, int size,
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SwapRGB(xrgb * prgb)
|
SwapRGB(xrgb * prgb)
|
||||||
{
|
{
|
||||||
swaps(&prgb->red);
|
swaps(&prgb->red);
|
||||||
|
@ -525,7 +525,7 @@ SwapRGB(xrgb * prgb)
|
||||||
swaps(&prgb->blue);
|
swaps(&prgb->blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SQColorsExtend(ClientPtr pClient, int size, xrgb * prgb)
|
SQColorsExtend(ClientPtr pClient, int size, xrgb * prgb)
|
||||||
{
|
{
|
||||||
int i, n;
|
int i, n;
|
||||||
|
@ -540,7 +540,7 @@ SQColorsExtend(ClientPtr pClient, int size, xrgb * prgb)
|
||||||
WriteToClient(pClient, size, prgb);
|
WriteToClient(pClient, size, prgb);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SQueryColorsReply(ClientPtr pClient, int size, xQueryColorsReply * pRep)
|
SQueryColorsReply(ClientPtr pClient, int size, xQueryColorsReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -549,7 +549,7 @@ SQueryColorsReply(ClientPtr pClient, int size, xQueryColorsReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SLookupColorReply(ClientPtr pClient, int size, xLookupColorReply * pRep)
|
SLookupColorReply(ClientPtr pClient, int size, xLookupColorReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -562,7 +562,7 @@ SLookupColorReply(ClientPtr pClient, int size, xLookupColorReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SQueryBestSizeReply(ClientPtr pClient, int size, xQueryBestSizeReply * pRep)
|
SQueryBestSizeReply(ClientPtr pClient, int size, xQueryBestSizeReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -571,7 +571,7 @@ SQueryBestSizeReply(ClientPtr pClient, int size, xQueryBestSizeReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SListExtensionsReply(ClientPtr pClient, int size, xListExtensionsReply * pRep)
|
SListExtensionsReply(ClientPtr pClient, int size, xListExtensionsReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -579,7 +579,7 @@ SListExtensionsReply(ClientPtr pClient, int size, xListExtensionsReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetKeyboardMappingReply(ClientPtr pClient, int size,
|
SGetKeyboardMappingReply(ClientPtr pClient, int size,
|
||||||
xGetKeyboardMappingReply * pRep)
|
xGetKeyboardMappingReply * pRep)
|
||||||
{
|
{
|
||||||
|
@ -588,7 +588,7 @@ SGetKeyboardMappingReply(ClientPtr pClient, int size,
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetPointerMappingReply(ClientPtr pClient, int size,
|
SGetPointerMappingReply(ClientPtr pClient, int size,
|
||||||
xGetPointerMappingReply * pRep)
|
xGetPointerMappingReply * pRep)
|
||||||
{
|
{
|
||||||
|
@ -597,7 +597,7 @@ SGetPointerMappingReply(ClientPtr pClient, int size,
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetModifierMappingReply(ClientPtr pClient, int size,
|
SGetModifierMappingReply(ClientPtr pClient, int size,
|
||||||
xGetModifierMappingReply * pRep)
|
xGetModifierMappingReply * pRep)
|
||||||
{
|
{
|
||||||
|
@ -606,7 +606,7 @@ SGetModifierMappingReply(ClientPtr pClient, int size,
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetKeyboardControlReply(ClientPtr pClient, int size,
|
SGetKeyboardControlReply(ClientPtr pClient, int size,
|
||||||
xGetKeyboardControlReply * pRep)
|
xGetKeyboardControlReply * pRep)
|
||||||
{
|
{
|
||||||
|
@ -618,7 +618,7 @@ SGetKeyboardControlReply(ClientPtr pClient, int size,
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetPointerControlReply(ClientPtr pClient, int size,
|
SGetPointerControlReply(ClientPtr pClient, int size,
|
||||||
xGetPointerControlReply * pRep)
|
xGetPointerControlReply * pRep)
|
||||||
{
|
{
|
||||||
|
@ -629,7 +629,7 @@ SGetPointerControlReply(ClientPtr pClient, int size,
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGetScreenSaverReply(ClientPtr pClient, int size, xGetScreenSaverReply * pRep)
|
SGetScreenSaverReply(ClientPtr pClient, int size, xGetScreenSaverReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -638,7 +638,7 @@ SGetScreenSaverReply(ClientPtr pClient, int size, xGetScreenSaverReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SLHostsExtend(ClientPtr pClient, int size, char *buf)
|
SLHostsExtend(ClientPtr pClient, int size, char *buf)
|
||||||
{
|
{
|
||||||
char *bufT = buf;
|
char *bufT = buf;
|
||||||
|
@ -654,7 +654,7 @@ SLHostsExtend(ClientPtr pClient, int size, char *buf)
|
||||||
WriteToClient(pClient, size, buf);
|
WriteToClient(pClient, size, buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SListHostsReply(ClientPtr pClient, int size, xListHostsReply * pRep)
|
SListHostsReply(ClientPtr pClient, int size, xListHostsReply * pRep)
|
||||||
{
|
{
|
||||||
swaps(&pRep->sequenceNumber);
|
swaps(&pRep->sequenceNumber);
|
||||||
|
@ -663,7 +663,7 @@ SListHostsReply(ClientPtr pClient, int size, xListHostsReply * pRep)
|
||||||
WriteToClient(pClient, size, pRep);
|
WriteToClient(pClient, size, pRep);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SErrorEvent(xError * from, xError * to)
|
SErrorEvent(xError * from, xError * to)
|
||||||
{
|
{
|
||||||
to->type = X_Error;
|
to->type = X_Error;
|
||||||
|
@ -674,7 +674,7 @@ SErrorEvent(xError * from, xError * to)
|
||||||
to->majorCode = from->majorCode;
|
to->majorCode = from->majorCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SKeyButtonPtrEvent(xEvent *from, xEvent *to)
|
SKeyButtonPtrEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -692,7 +692,7 @@ SKeyButtonPtrEvent(xEvent *from, xEvent *to)
|
||||||
to->u.keyButtonPointer.sameScreen = from->u.keyButtonPointer.sameScreen;
|
to->u.keyButtonPointer.sameScreen = from->u.keyButtonPointer.sameScreen;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SEnterLeaveEvent(xEvent *from, xEvent *to)
|
SEnterLeaveEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -711,7 +711,7 @@ SEnterLeaveEvent(xEvent *from, xEvent *to)
|
||||||
to->u.enterLeave.flags = from->u.enterLeave.flags;
|
to->u.enterLeave.flags = from->u.enterLeave.flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SFocusEvent(xEvent *from, xEvent *to)
|
SFocusEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -721,7 +721,7 @@ SFocusEvent(xEvent *from, xEvent *to)
|
||||||
to->u.focus.mode = from->u.focus.mode;
|
to->u.focus.mode = from->u.focus.mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SExposeEvent(xEvent *from, xEvent *to)
|
SExposeEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -734,7 +734,7 @@ SExposeEvent(xEvent *from, xEvent *to)
|
||||||
cpswaps(from->u.expose.count, to->u.expose.count);
|
cpswaps(from->u.expose.count, to->u.expose.count);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGraphicsExposureEvent(xEvent *from, xEvent *to)
|
SGraphicsExposureEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -750,7 +750,7 @@ SGraphicsExposureEvent(xEvent *from, xEvent *to)
|
||||||
to->u.graphicsExposure.majorEvent = from->u.graphicsExposure.majorEvent;
|
to->u.graphicsExposure.majorEvent = from->u.graphicsExposure.majorEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SNoExposureEvent(xEvent *from, xEvent *to)
|
SNoExposureEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -760,7 +760,7 @@ SNoExposureEvent(xEvent *from, xEvent *to)
|
||||||
to->u.noExposure.majorEvent = from->u.noExposure.majorEvent;
|
to->u.noExposure.majorEvent = from->u.noExposure.majorEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SVisibilityEvent(xEvent *from, xEvent *to)
|
SVisibilityEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -769,7 +769,7 @@ SVisibilityEvent(xEvent *from, xEvent *to)
|
||||||
to->u.visibility.state = from->u.visibility.state;
|
to->u.visibility.state = from->u.visibility.state;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SCreateNotifyEvent(xEvent *from, xEvent *to)
|
SCreateNotifyEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -784,7 +784,7 @@ SCreateNotifyEvent(xEvent *from, xEvent *to)
|
||||||
to->u.createNotify.override = from->u.createNotify.override;
|
to->u.createNotify.override = from->u.createNotify.override;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SDestroyNotifyEvent(xEvent *from, xEvent *to)
|
SDestroyNotifyEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -793,7 +793,7 @@ SDestroyNotifyEvent(xEvent *from, xEvent *to)
|
||||||
cpswapl(from->u.destroyNotify.window, to->u.destroyNotify.window);
|
cpswapl(from->u.destroyNotify.window, to->u.destroyNotify.window);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SUnmapNotifyEvent(xEvent *from, xEvent *to)
|
SUnmapNotifyEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -803,7 +803,7 @@ SUnmapNotifyEvent(xEvent *from, xEvent *to)
|
||||||
to->u.unmapNotify.fromConfigure = from->u.unmapNotify.fromConfigure;
|
to->u.unmapNotify.fromConfigure = from->u.unmapNotify.fromConfigure;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SMapNotifyEvent(xEvent *from, xEvent *to)
|
SMapNotifyEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -813,7 +813,7 @@ SMapNotifyEvent(xEvent *from, xEvent *to)
|
||||||
to->u.mapNotify.override = from->u.mapNotify.override;
|
to->u.mapNotify.override = from->u.mapNotify.override;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SMapRequestEvent(xEvent *from, xEvent *to)
|
SMapRequestEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -822,7 +822,7 @@ SMapRequestEvent(xEvent *from, xEvent *to)
|
||||||
cpswapl(from->u.mapRequest.window, to->u.mapRequest.window);
|
cpswapl(from->u.mapRequest.window, to->u.mapRequest.window);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SReparentEvent(xEvent *from, xEvent *to)
|
SReparentEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -835,7 +835,7 @@ SReparentEvent(xEvent *from, xEvent *to)
|
||||||
to->u.reparent.override = from->u.reparent.override;
|
to->u.reparent.override = from->u.reparent.override;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SConfigureNotifyEvent(xEvent *from, xEvent *to)
|
SConfigureNotifyEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -853,7 +853,7 @@ SConfigureNotifyEvent(xEvent *from, xEvent *to)
|
||||||
to->u.configureNotify.override = from->u.configureNotify.override;
|
to->u.configureNotify.override = from->u.configureNotify.override;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SConfigureRequestEvent(xEvent *from, xEvent *to)
|
SConfigureRequestEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -872,7 +872,7 @@ SConfigureRequestEvent(xEvent *from, xEvent *to)
|
||||||
to->u.configureRequest.valueMask);
|
to->u.configureRequest.valueMask);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SGravityEvent(xEvent *from, xEvent *to)
|
SGravityEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -883,7 +883,7 @@ SGravityEvent(xEvent *from, xEvent *to)
|
||||||
cpswaps(from->u.gravity.y, to->u.gravity.y);
|
cpswaps(from->u.gravity.y, to->u.gravity.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SResizeRequestEvent(xEvent *from, xEvent *to)
|
SResizeRequestEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -893,7 +893,7 @@ SResizeRequestEvent(xEvent *from, xEvent *to)
|
||||||
cpswaps(from->u.resizeRequest.height, to->u.resizeRequest.height);
|
cpswaps(from->u.resizeRequest.height, to->u.resizeRequest.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SCirculateEvent(xEvent *from, xEvent *to)
|
SCirculateEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -905,7 +905,7 @@ SCirculateEvent(xEvent *from, xEvent *to)
|
||||||
to->u.circulate.place = from->u.circulate.place;
|
to->u.circulate.place = from->u.circulate.place;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SPropertyEvent(xEvent *from, xEvent *to)
|
SPropertyEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -916,7 +916,7 @@ SPropertyEvent(xEvent *from, xEvent *to)
|
||||||
to->u.property.state = from->u.property.state;
|
to->u.property.state = from->u.property.state;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SSelectionClearEvent(xEvent *from, xEvent *to)
|
SSelectionClearEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -926,7 +926,7 @@ SSelectionClearEvent(xEvent *from, xEvent *to)
|
||||||
cpswapl(from->u.selectionClear.atom, to->u.selectionClear.atom);
|
cpswapl(from->u.selectionClear.atom, to->u.selectionClear.atom);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SSelectionRequestEvent(xEvent *from, xEvent *to)
|
SSelectionRequestEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -941,7 +941,7 @@ SSelectionRequestEvent(xEvent *from, xEvent *to)
|
||||||
cpswapl(from->u.selectionRequest.property, to->u.selectionRequest.property);
|
cpswapl(from->u.selectionRequest.property, to->u.selectionRequest.property);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SSelectionNotifyEvent(xEvent *from, xEvent *to)
|
SSelectionNotifyEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -953,7 +953,7 @@ SSelectionNotifyEvent(xEvent *from, xEvent *to)
|
||||||
cpswapl(from->u.selectionNotify.property, to->u.selectionNotify.property);
|
cpswapl(from->u.selectionNotify.property, to->u.selectionNotify.property);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SColormapEvent(xEvent *from, xEvent *to)
|
SColormapEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -964,7 +964,7 @@ SColormapEvent(xEvent *from, xEvent *to)
|
||||||
to->u.colormap.state = from->u.colormap.state;
|
to->u.colormap.state = from->u.colormap.state;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SMappingEvent(xEvent *from, xEvent *to)
|
SMappingEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -974,7 +974,7 @@ SMappingEvent(xEvent *from, xEvent *to)
|
||||||
to->u.mappingNotify.count = from->u.mappingNotify.count;
|
to->u.mappingNotify.count = from->u.mappingNotify.count;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SClientMessageEvent(xEvent *from, xEvent *to)
|
SClientMessageEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
to->u.u.type = from->u.u.type;
|
to->u.u.type = from->u.u.type;
|
||||||
|
@ -1024,7 +1024,7 @@ SClientMessageEvent(xEvent *from, xEvent *to)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SKeymapNotifyEvent(xEvent *from, xEvent *to)
|
SKeymapNotifyEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
/* Keymap notify events are special; they have no
|
/* Keymap notify events are special; they have no
|
||||||
|
@ -1032,7 +1032,7 @@ SKeymapNotifyEvent(xEvent *from, xEvent *to)
|
||||||
*to = *from;
|
*to = *from;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SwapConnSetup(xConnSetup * pConnSetup, xConnSetup * pConnSetupT)
|
SwapConnSetup(xConnSetup * pConnSetup, xConnSetup * pConnSetupT)
|
||||||
{
|
{
|
||||||
cpswapl(pConnSetup->release, pConnSetupT->release);
|
cpswapl(pConnSetup->release, pConnSetupT->release);
|
||||||
|
@ -1051,7 +1051,7 @@ SwapConnSetup(xConnSetup * pConnSetup, xConnSetup * pConnSetupT)
|
||||||
pConnSetupT->bitmapScanlinePad = pConnSetup->bitmapScanlinePad;
|
pConnSetupT->bitmapScanlinePad = pConnSetup->bitmapScanlinePad;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SwapWinRoot(xWindowRoot * pRoot, xWindowRoot * pRootT)
|
SwapWinRoot(xWindowRoot * pRoot, xWindowRoot * pRootT)
|
||||||
{
|
{
|
||||||
cpswapl(pRoot->windowId, pRootT->windowId);
|
cpswapl(pRoot->windowId, pRootT->windowId);
|
||||||
|
@ -1072,7 +1072,7 @@ SwapWinRoot(xWindowRoot * pRoot, xWindowRoot * pRootT)
|
||||||
pRootT->nDepths = pRoot->nDepths;
|
pRootT->nDepths = pRoot->nDepths;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SwapVisual(xVisualType * pVis, xVisualType * pVisT)
|
SwapVisual(xVisualType * pVis, xVisualType * pVisT)
|
||||||
{
|
{
|
||||||
cpswapl(pVis->visualID, pVisT->visualID);
|
cpswapl(pVis->visualID, pVisT->visualID);
|
||||||
|
@ -1084,7 +1084,7 @@ SwapVisual(xVisualType * pVis, xVisualType * pVisT)
|
||||||
cpswapl(pVis->blueMask, pVisT->blueMask);
|
cpswapl(pVis->blueMask, pVisT->blueMask);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SwapConnSetupInfo(char *pInfo, char *pInfoT)
|
SwapConnSetupInfo(char *pInfo, char *pInfoT)
|
||||||
{
|
{
|
||||||
int i, j, k;
|
int i, j, k;
|
||||||
|
@ -1129,7 +1129,7 @@ SwapConnSetupInfo(char *pInfo, char *pInfoT)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
WriteSConnectionInfo(ClientPtr pClient, unsigned long size, char *pInfo)
|
WriteSConnectionInfo(ClientPtr pClient, unsigned long size, char *pInfo)
|
||||||
{
|
{
|
||||||
char *pInfoTBase;
|
char *pInfoTBase;
|
||||||
|
@ -1144,7 +1144,7 @@ WriteSConnectionInfo(ClientPtr pClient, unsigned long size, char *pInfo)
|
||||||
free(pInfoTBase);
|
free(pInfoTBase);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SwapConnSetupPrefix(xConnSetupPrefix * pcspFrom, xConnSetupPrefix * pcspTo)
|
SwapConnSetupPrefix(xConnSetupPrefix * pcspFrom, xConnSetupPrefix * pcspTo)
|
||||||
{
|
{
|
||||||
pcspTo->success = pcspFrom->success;
|
pcspTo->success = pcspFrom->success;
|
||||||
|
@ -1154,7 +1154,7 @@ SwapConnSetupPrefix(xConnSetupPrefix * pcspFrom, xConnSetupPrefix * pcspTo)
|
||||||
cpswaps(pcspFrom->length, pcspTo->length);
|
cpswaps(pcspFrom->length, pcspTo->length);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
WriteSConnSetupPrefix(ClientPtr pClient, xConnSetupPrefix * pcsp)
|
WriteSConnSetupPrefix(ClientPtr pClient, xConnSetupPrefix * pcsp)
|
||||||
{
|
{
|
||||||
xConnSetupPrefix cspT;
|
xConnSetupPrefix cspT;
|
||||||
|
@ -1167,7 +1167,7 @@ WriteSConnSetupPrefix(ClientPtr pClient, xConnSetupPrefix * pcsp)
|
||||||
* Dummy entry for ReplySwapVector[]
|
* Dummy entry for ReplySwapVector[]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
ReplyNotSwappd(ClientPtr pClient, int size, void *pbuf)
|
ReplyNotSwappd(ClientPtr pClient, int size, void *pbuf)
|
||||||
{
|
{
|
||||||
FatalError("Not implemented");
|
FatalError("Not implemented");
|
||||||
|
|
136
dix/swapreq.c
136
dix/swapreq.c
|
@ -116,7 +116,7 @@ SwapShorts(short *list, unsigned long count)
|
||||||
|
|
||||||
/* The following is used for all requests that have
|
/* The following is used for all requests that have
|
||||||
no fields to be swapped (except "length") */
|
no fields to be swapped (except "length") */
|
||||||
int
|
int _X_COLD
|
||||||
SProcSimpleReq(ClientPtr client)
|
SProcSimpleReq(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
@ -127,7 +127,7 @@ SProcSimpleReq(ClientPtr client)
|
||||||
/* The following is used for all requests that have
|
/* The following is used for all requests that have
|
||||||
only a single 32-bit field to be swapped, coming
|
only a single 32-bit field to be swapped, coming
|
||||||
right after the "length" field */
|
right after the "length" field */
|
||||||
int
|
int _X_COLD
|
||||||
SProcResourceReq(ClientPtr client)
|
SProcResourceReq(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xResourceReq);
|
REQUEST(xResourceReq);
|
||||||
|
@ -137,7 +137,7 @@ SProcResourceReq(ClientPtr client)
|
||||||
return (*ProcVector[stuff->reqType]) (client);
|
return (*ProcVector[stuff->reqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcCreateWindow(ClientPtr client)
|
SProcCreateWindow(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCreateWindowReq);
|
REQUEST(xCreateWindowReq);
|
||||||
|
@ -157,7 +157,7 @@ SProcCreateWindow(ClientPtr client)
|
||||||
return ((*ProcVector[X_CreateWindow]) (client));
|
return ((*ProcVector[X_CreateWindow]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcChangeWindowAttributes(ClientPtr client)
|
SProcChangeWindowAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xChangeWindowAttributesReq);
|
REQUEST(xChangeWindowAttributesReq);
|
||||||
|
@ -169,7 +169,7 @@ SProcChangeWindowAttributes(ClientPtr client)
|
||||||
return ((*ProcVector[X_ChangeWindowAttributes]) (client));
|
return ((*ProcVector[X_ChangeWindowAttributes]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcReparentWindow(ClientPtr client)
|
SProcReparentWindow(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReparentWindowReq);
|
REQUEST(xReparentWindowReq);
|
||||||
|
@ -182,7 +182,7 @@ SProcReparentWindow(ClientPtr client)
|
||||||
return ((*ProcVector[X_ReparentWindow]) (client));
|
return ((*ProcVector[X_ReparentWindow]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcConfigureWindow(ClientPtr client)
|
SProcConfigureWindow(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xConfigureWindowReq);
|
REQUEST(xConfigureWindowReq);
|
||||||
|
@ -195,7 +195,7 @@ SProcConfigureWindow(ClientPtr client)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcInternAtom(ClientPtr client)
|
SProcInternAtom(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xInternAtomReq);
|
REQUEST(xInternAtomReq);
|
||||||
|
@ -205,7 +205,7 @@ SProcInternAtom(ClientPtr client)
|
||||||
return ((*ProcVector[X_InternAtom]) (client));
|
return ((*ProcVector[X_InternAtom]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcChangeProperty(ClientPtr client)
|
SProcChangeProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xChangePropertyReq);
|
REQUEST(xChangePropertyReq);
|
||||||
|
@ -228,7 +228,7 @@ SProcChangeProperty(ClientPtr client)
|
||||||
return ((*ProcVector[X_ChangeProperty]) (client));
|
return ((*ProcVector[X_ChangeProperty]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcDeleteProperty(ClientPtr client)
|
SProcDeleteProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDeletePropertyReq);
|
REQUEST(xDeletePropertyReq);
|
||||||
|
@ -240,7 +240,7 @@ SProcDeleteProperty(ClientPtr client)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcGetProperty(ClientPtr client)
|
SProcGetProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetPropertyReq);
|
REQUEST(xGetPropertyReq);
|
||||||
|
@ -254,7 +254,7 @@ SProcGetProperty(ClientPtr client)
|
||||||
return ((*ProcVector[X_GetProperty]) (client));
|
return ((*ProcVector[X_GetProperty]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcSetSelectionOwner(ClientPtr client)
|
SProcSetSelectionOwner(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSetSelectionOwnerReq);
|
REQUEST(xSetSelectionOwnerReq);
|
||||||
|
@ -266,7 +266,7 @@ SProcSetSelectionOwner(ClientPtr client)
|
||||||
return ((*ProcVector[X_SetSelectionOwner]) (client));
|
return ((*ProcVector[X_SetSelectionOwner]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcConvertSelection(ClientPtr client)
|
SProcConvertSelection(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xConvertSelectionReq);
|
REQUEST(xConvertSelectionReq);
|
||||||
|
@ -280,7 +280,7 @@ SProcConvertSelection(ClientPtr client)
|
||||||
return ((*ProcVector[X_ConvertSelection]) (client));
|
return ((*ProcVector[X_ConvertSelection]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcSendEvent(ClientPtr client)
|
SProcSendEvent(ClientPtr client)
|
||||||
{
|
{
|
||||||
xEvent eventT = { .u.u.type = 0 };
|
xEvent eventT = { .u.u.type = 0 };
|
||||||
|
@ -302,7 +302,7 @@ SProcSendEvent(ClientPtr client)
|
||||||
return ((*ProcVector[X_SendEvent]) (client));
|
return ((*ProcVector[X_SendEvent]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcGrabPointer(ClientPtr client)
|
SProcGrabPointer(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGrabPointerReq);
|
REQUEST(xGrabPointerReq);
|
||||||
|
@ -316,7 +316,7 @@ SProcGrabPointer(ClientPtr client)
|
||||||
return ((*ProcVector[X_GrabPointer]) (client));
|
return ((*ProcVector[X_GrabPointer]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcGrabButton(ClientPtr client)
|
SProcGrabButton(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGrabButtonReq);
|
REQUEST(xGrabButtonReq);
|
||||||
|
@ -330,7 +330,7 @@ SProcGrabButton(ClientPtr client)
|
||||||
return ((*ProcVector[X_GrabButton]) (client));
|
return ((*ProcVector[X_GrabButton]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcUngrabButton(ClientPtr client)
|
SProcUngrabButton(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xUngrabButtonReq);
|
REQUEST(xUngrabButtonReq);
|
||||||
|
@ -341,7 +341,7 @@ SProcUngrabButton(ClientPtr client)
|
||||||
return ((*ProcVector[X_UngrabButton]) (client));
|
return ((*ProcVector[X_UngrabButton]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcChangeActivePointerGrab(ClientPtr client)
|
SProcChangeActivePointerGrab(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xChangeActivePointerGrabReq);
|
REQUEST(xChangeActivePointerGrabReq);
|
||||||
|
@ -353,7 +353,7 @@ SProcChangeActivePointerGrab(ClientPtr client)
|
||||||
return ((*ProcVector[X_ChangeActivePointerGrab]) (client));
|
return ((*ProcVector[X_ChangeActivePointerGrab]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcGrabKeyboard(ClientPtr client)
|
SProcGrabKeyboard(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGrabKeyboardReq);
|
REQUEST(xGrabKeyboardReq);
|
||||||
|
@ -364,7 +364,7 @@ SProcGrabKeyboard(ClientPtr client)
|
||||||
return ((*ProcVector[X_GrabKeyboard]) (client));
|
return ((*ProcVector[X_GrabKeyboard]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcGrabKey(ClientPtr client)
|
SProcGrabKey(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGrabKeyReq);
|
REQUEST(xGrabKeyReq);
|
||||||
|
@ -375,7 +375,7 @@ SProcGrabKey(ClientPtr client)
|
||||||
return ((*ProcVector[X_GrabKey]) (client));
|
return ((*ProcVector[X_GrabKey]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcUngrabKey(ClientPtr client)
|
SProcUngrabKey(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xUngrabKeyReq);
|
REQUEST(xUngrabKeyReq);
|
||||||
|
@ -386,7 +386,7 @@ SProcUngrabKey(ClientPtr client)
|
||||||
return ((*ProcVector[X_UngrabKey]) (client));
|
return ((*ProcVector[X_UngrabKey]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcGetMotionEvents(ClientPtr client)
|
SProcGetMotionEvents(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetMotionEventsReq);
|
REQUEST(xGetMotionEventsReq);
|
||||||
|
@ -398,7 +398,7 @@ SProcGetMotionEvents(ClientPtr client)
|
||||||
return ((*ProcVector[X_GetMotionEvents]) (client));
|
return ((*ProcVector[X_GetMotionEvents]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcTranslateCoords(ClientPtr client)
|
SProcTranslateCoords(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xTranslateCoordsReq);
|
REQUEST(xTranslateCoordsReq);
|
||||||
|
@ -411,7 +411,7 @@ SProcTranslateCoords(ClientPtr client)
|
||||||
return ((*ProcVector[X_TranslateCoords]) (client));
|
return ((*ProcVector[X_TranslateCoords]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcWarpPointer(ClientPtr client)
|
SProcWarpPointer(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xWarpPointerReq);
|
REQUEST(xWarpPointerReq);
|
||||||
|
@ -428,7 +428,7 @@ SProcWarpPointer(ClientPtr client)
|
||||||
return ((*ProcVector[X_WarpPointer]) (client));
|
return ((*ProcVector[X_WarpPointer]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcSetInputFocus(ClientPtr client)
|
SProcSetInputFocus(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSetInputFocusReq);
|
REQUEST(xSetInputFocusReq);
|
||||||
|
@ -439,7 +439,7 @@ SProcSetInputFocus(ClientPtr client)
|
||||||
return ((*ProcVector[X_SetInputFocus]) (client));
|
return ((*ProcVector[X_SetInputFocus]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcOpenFont(ClientPtr client)
|
SProcOpenFont(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xOpenFontReq);
|
REQUEST(xOpenFontReq);
|
||||||
|
@ -450,7 +450,7 @@ SProcOpenFont(ClientPtr client)
|
||||||
return ((*ProcVector[X_OpenFont]) (client));
|
return ((*ProcVector[X_OpenFont]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcListFonts(ClientPtr client)
|
SProcListFonts(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xListFontsReq);
|
REQUEST(xListFontsReq);
|
||||||
|
@ -461,7 +461,7 @@ SProcListFonts(ClientPtr client)
|
||||||
return ((*ProcVector[X_ListFonts]) (client));
|
return ((*ProcVector[X_ListFonts]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcListFontsWithInfo(ClientPtr client)
|
SProcListFontsWithInfo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xListFontsWithInfoReq);
|
REQUEST(xListFontsWithInfoReq);
|
||||||
|
@ -472,7 +472,7 @@ SProcListFontsWithInfo(ClientPtr client)
|
||||||
return ((*ProcVector[X_ListFontsWithInfo]) (client));
|
return ((*ProcVector[X_ListFontsWithInfo]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcSetFontPath(ClientPtr client)
|
SProcSetFontPath(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSetFontPathReq);
|
REQUEST(xSetFontPathReq);
|
||||||
|
@ -482,7 +482,7 @@ SProcSetFontPath(ClientPtr client)
|
||||||
return ((*ProcVector[X_SetFontPath]) (client));
|
return ((*ProcVector[X_SetFontPath]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcCreatePixmap(ClientPtr client)
|
SProcCreatePixmap(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCreatePixmapReq);
|
REQUEST(xCreatePixmapReq);
|
||||||
|
@ -496,7 +496,7 @@ SProcCreatePixmap(ClientPtr client)
|
||||||
return ((*ProcVector[X_CreatePixmap]) (client));
|
return ((*ProcVector[X_CreatePixmap]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcCreateGC(ClientPtr client)
|
SProcCreateGC(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCreateGCReq);
|
REQUEST(xCreateGCReq);
|
||||||
|
@ -509,7 +509,7 @@ SProcCreateGC(ClientPtr client)
|
||||||
return ((*ProcVector[X_CreateGC]) (client));
|
return ((*ProcVector[X_CreateGC]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcChangeGC(ClientPtr client)
|
SProcChangeGC(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xChangeGCReq);
|
REQUEST(xChangeGCReq);
|
||||||
|
@ -521,7 +521,7 @@ SProcChangeGC(ClientPtr client)
|
||||||
return ((*ProcVector[X_ChangeGC]) (client));
|
return ((*ProcVector[X_ChangeGC]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcCopyGC(ClientPtr client)
|
SProcCopyGC(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCopyGCReq);
|
REQUEST(xCopyGCReq);
|
||||||
|
@ -533,7 +533,7 @@ SProcCopyGC(ClientPtr client)
|
||||||
return ((*ProcVector[X_CopyGC]) (client));
|
return ((*ProcVector[X_CopyGC]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcSetDashes(ClientPtr client)
|
SProcSetDashes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSetDashesReq);
|
REQUEST(xSetDashesReq);
|
||||||
|
@ -546,7 +546,7 @@ SProcSetDashes(ClientPtr client)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcSetClipRectangles(ClientPtr client)
|
SProcSetClipRectangles(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSetClipRectanglesReq);
|
REQUEST(xSetClipRectanglesReq);
|
||||||
|
@ -559,7 +559,7 @@ SProcSetClipRectangles(ClientPtr client)
|
||||||
return ((*ProcVector[X_SetClipRectangles]) (client));
|
return ((*ProcVector[X_SetClipRectangles]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcClearToBackground(ClientPtr client)
|
SProcClearToBackground(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xClearAreaReq);
|
REQUEST(xClearAreaReq);
|
||||||
|
@ -573,7 +573,7 @@ SProcClearToBackground(ClientPtr client)
|
||||||
return ((*ProcVector[X_ClearArea]) (client));
|
return ((*ProcVector[X_ClearArea]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcCopyArea(ClientPtr client)
|
SProcCopyArea(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCopyAreaReq);
|
REQUEST(xCopyAreaReq);
|
||||||
|
@ -591,7 +591,7 @@ SProcCopyArea(ClientPtr client)
|
||||||
return ((*ProcVector[X_CopyArea]) (client));
|
return ((*ProcVector[X_CopyArea]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcCopyPlane(ClientPtr client)
|
SProcCopyPlane(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCopyPlaneReq);
|
REQUEST(xCopyPlaneReq);
|
||||||
|
@ -612,7 +612,7 @@ SProcCopyPlane(ClientPtr client)
|
||||||
|
|
||||||
/* The following routine is used for all Poly drawing requests
|
/* The following routine is used for all Poly drawing requests
|
||||||
(except FillPoly, which uses a different request format) */
|
(except FillPoly, which uses a different request format) */
|
||||||
int
|
int _X_COLD
|
||||||
SProcPoly(ClientPtr client)
|
SProcPoly(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPolyPointReq);
|
REQUEST(xPolyPointReq);
|
||||||
|
@ -627,7 +627,7 @@ SProcPoly(ClientPtr client)
|
||||||
/* cannot use SProcPoly for this one, because xFillPolyReq
|
/* cannot use SProcPoly for this one, because xFillPolyReq
|
||||||
is longer than xPolyPointReq, and we don't want to swap
|
is longer than xPolyPointReq, and we don't want to swap
|
||||||
the difference as shorts! */
|
the difference as shorts! */
|
||||||
int
|
int _X_COLD
|
||||||
SProcFillPoly(ClientPtr client)
|
SProcFillPoly(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xFillPolyReq);
|
REQUEST(xFillPolyReq);
|
||||||
|
@ -639,7 +639,7 @@ SProcFillPoly(ClientPtr client)
|
||||||
return ((*ProcVector[X_FillPoly]) (client));
|
return ((*ProcVector[X_FillPoly]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcPutImage(ClientPtr client)
|
SProcPutImage(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPutImageReq);
|
REQUEST(xPutImageReq);
|
||||||
|
@ -656,7 +656,7 @@ SProcPutImage(ClientPtr client)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcGetImage(ClientPtr client)
|
SProcGetImage(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xGetImageReq);
|
REQUEST(xGetImageReq);
|
||||||
|
@ -673,7 +673,7 @@ SProcGetImage(ClientPtr client)
|
||||||
|
|
||||||
/* ProcPolyText used for both PolyText8 and PolyText16 */
|
/* ProcPolyText used for both PolyText8 and PolyText16 */
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcPolyText(ClientPtr client)
|
SProcPolyText(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPolyTextReq);
|
REQUEST(xPolyTextReq);
|
||||||
|
@ -688,7 +688,7 @@ SProcPolyText(ClientPtr client)
|
||||||
|
|
||||||
/* ProcImageText used for both ImageText8 and ImageText16 */
|
/* ProcImageText used for both ImageText8 and ImageText16 */
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcImageText(ClientPtr client)
|
SProcImageText(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xImageTextReq);
|
REQUEST(xImageTextReq);
|
||||||
|
@ -701,7 +701,7 @@ SProcImageText(ClientPtr client)
|
||||||
return ((*ProcVector[stuff->reqType]) (client));
|
return ((*ProcVector[stuff->reqType]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcCreateColormap(ClientPtr client)
|
SProcCreateColormap(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCreateColormapReq);
|
REQUEST(xCreateColormapReq);
|
||||||
|
@ -713,7 +713,7 @@ SProcCreateColormap(ClientPtr client)
|
||||||
return ((*ProcVector[X_CreateColormap]) (client));
|
return ((*ProcVector[X_CreateColormap]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcCopyColormapAndFree(ClientPtr client)
|
SProcCopyColormapAndFree(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCopyColormapAndFreeReq);
|
REQUEST(xCopyColormapAndFreeReq);
|
||||||
|
@ -725,7 +725,7 @@ SProcCopyColormapAndFree(ClientPtr client)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcAllocColor(ClientPtr client)
|
SProcAllocColor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xAllocColorReq);
|
REQUEST(xAllocColorReq);
|
||||||
|
@ -738,7 +738,7 @@ SProcAllocColor(ClientPtr client)
|
||||||
return ((*ProcVector[X_AllocColor]) (client));
|
return ((*ProcVector[X_AllocColor]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcAllocNamedColor(ClientPtr client)
|
SProcAllocNamedColor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xAllocNamedColorReq);
|
REQUEST(xAllocNamedColorReq);
|
||||||
|
@ -749,7 +749,7 @@ SProcAllocNamedColor(ClientPtr client)
|
||||||
return ((*ProcVector[X_AllocNamedColor]) (client));
|
return ((*ProcVector[X_AllocNamedColor]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcAllocColorCells(ClientPtr client)
|
SProcAllocColorCells(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xAllocColorCellsReq);
|
REQUEST(xAllocColorCellsReq);
|
||||||
|
@ -761,7 +761,7 @@ SProcAllocColorCells(ClientPtr client)
|
||||||
return ((*ProcVector[X_AllocColorCells]) (client));
|
return ((*ProcVector[X_AllocColorCells]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcAllocColorPlanes(ClientPtr client)
|
SProcAllocColorPlanes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xAllocColorPlanesReq);
|
REQUEST(xAllocColorPlanesReq);
|
||||||
|
@ -775,7 +775,7 @@ SProcAllocColorPlanes(ClientPtr client)
|
||||||
return ((*ProcVector[X_AllocColorPlanes]) (client));
|
return ((*ProcVector[X_AllocColorPlanes]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcFreeColors(ClientPtr client)
|
SProcFreeColors(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xFreeColorsReq);
|
REQUEST(xFreeColorsReq);
|
||||||
|
@ -788,7 +788,7 @@ SProcFreeColors(ClientPtr client)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SwapColorItem(xColorItem * pItem)
|
SwapColorItem(xColorItem * pItem)
|
||||||
{
|
{
|
||||||
swapl(&pItem->pixel);
|
swapl(&pItem->pixel);
|
||||||
|
@ -797,7 +797,7 @@ SwapColorItem(xColorItem * pItem)
|
||||||
swaps(&pItem->blue);
|
swaps(&pItem->blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcStoreColors(ClientPtr client)
|
SProcStoreColors(ClientPtr client)
|
||||||
{
|
{
|
||||||
long count;
|
long count;
|
||||||
|
@ -813,7 +813,7 @@ SProcStoreColors(ClientPtr client)
|
||||||
return ((*ProcVector[X_StoreColors]) (client));
|
return ((*ProcVector[X_StoreColors]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcStoreNamedColor(ClientPtr client)
|
SProcStoreNamedColor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xStoreNamedColorReq);
|
REQUEST(xStoreNamedColorReq);
|
||||||
|
@ -825,7 +825,7 @@ SProcStoreNamedColor(ClientPtr client)
|
||||||
return ((*ProcVector[X_StoreNamedColor]) (client));
|
return ((*ProcVector[X_StoreNamedColor]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcQueryColors(ClientPtr client)
|
SProcQueryColors(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xQueryColorsReq);
|
REQUEST(xQueryColorsReq);
|
||||||
|
@ -836,7 +836,7 @@ SProcQueryColors(ClientPtr client)
|
||||||
return ((*ProcVector[X_QueryColors]) (client));
|
return ((*ProcVector[X_QueryColors]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcLookupColor(ClientPtr client)
|
SProcLookupColor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xLookupColorReq);
|
REQUEST(xLookupColorReq);
|
||||||
|
@ -847,7 +847,7 @@ SProcLookupColor(ClientPtr client)
|
||||||
return ((*ProcVector[X_LookupColor]) (client));
|
return ((*ProcVector[X_LookupColor]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcCreateCursor(ClientPtr client)
|
SProcCreateCursor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCreateCursorReq);
|
REQUEST(xCreateCursorReq);
|
||||||
|
@ -867,7 +867,7 @@ SProcCreateCursor(ClientPtr client)
|
||||||
return ((*ProcVector[X_CreateCursor]) (client));
|
return ((*ProcVector[X_CreateCursor]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcCreateGlyphCursor(ClientPtr client)
|
SProcCreateGlyphCursor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xCreateGlyphCursorReq);
|
REQUEST(xCreateGlyphCursorReq);
|
||||||
|
@ -887,7 +887,7 @@ SProcCreateGlyphCursor(ClientPtr client)
|
||||||
return ((*ProcVector[X_CreateGlyphCursor]) (client));
|
return ((*ProcVector[X_CreateGlyphCursor]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcRecolorCursor(ClientPtr client)
|
SProcRecolorCursor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRecolorCursorReq);
|
REQUEST(xRecolorCursorReq);
|
||||||
|
@ -903,7 +903,7 @@ SProcRecolorCursor(ClientPtr client)
|
||||||
return ((*ProcVector[X_RecolorCursor]) (client));
|
return ((*ProcVector[X_RecolorCursor]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcQueryBestSize(ClientPtr client)
|
SProcQueryBestSize(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xQueryBestSizeReq);
|
REQUEST(xQueryBestSizeReq);
|
||||||
|
@ -916,7 +916,7 @@ SProcQueryBestSize(ClientPtr client)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcQueryExtension(ClientPtr client)
|
SProcQueryExtension(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xQueryExtensionReq);
|
REQUEST(xQueryExtensionReq);
|
||||||
|
@ -926,7 +926,7 @@ SProcQueryExtension(ClientPtr client)
|
||||||
return ((*ProcVector[X_QueryExtension]) (client));
|
return ((*ProcVector[X_QueryExtension]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcChangeKeyboardMapping(ClientPtr client)
|
SProcChangeKeyboardMapping(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xChangeKeyboardMappingReq);
|
REQUEST(xChangeKeyboardMappingReq);
|
||||||
|
@ -936,7 +936,7 @@ SProcChangeKeyboardMapping(ClientPtr client)
|
||||||
return ((*ProcVector[X_ChangeKeyboardMapping]) (client));
|
return ((*ProcVector[X_ChangeKeyboardMapping]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcChangeKeyboardControl(ClientPtr client)
|
SProcChangeKeyboardControl(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xChangeKeyboardControlReq);
|
REQUEST(xChangeKeyboardControlReq);
|
||||||
|
@ -947,7 +947,7 @@ SProcChangeKeyboardControl(ClientPtr client)
|
||||||
return ((*ProcVector[X_ChangeKeyboardControl]) (client));
|
return ((*ProcVector[X_ChangeKeyboardControl]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcChangePointerControl(ClientPtr client)
|
SProcChangePointerControl(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xChangePointerControlReq);
|
REQUEST(xChangePointerControlReq);
|
||||||
|
@ -959,7 +959,7 @@ SProcChangePointerControl(ClientPtr client)
|
||||||
return ((*ProcVector[X_ChangePointerControl]) (client));
|
return ((*ProcVector[X_ChangePointerControl]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcSetScreenSaver(ClientPtr client)
|
SProcSetScreenSaver(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xSetScreenSaverReq);
|
REQUEST(xSetScreenSaverReq);
|
||||||
|
@ -970,7 +970,7 @@ SProcSetScreenSaver(ClientPtr client)
|
||||||
return ((*ProcVector[X_SetScreenSaver]) (client));
|
return ((*ProcVector[X_SetScreenSaver]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcChangeHosts(ClientPtr client)
|
SProcChangeHosts(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xChangeHostsReq);
|
REQUEST(xChangeHostsReq);
|
||||||
|
@ -981,7 +981,7 @@ SProcChangeHosts(ClientPtr client)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcRotateProperties(ClientPtr client)
|
SProcRotateProperties(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRotatePropertiesReq);
|
REQUEST(xRotatePropertiesReq);
|
||||||
|
@ -994,7 +994,7 @@ SProcRotateProperties(ClientPtr client)
|
||||||
return ((*ProcVector[X_RotateProperties]) (client));
|
return ((*ProcVector[X_RotateProperties]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcNoOperation(ClientPtr client)
|
SProcNoOperation(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
@ -1002,7 +1002,7 @@ SProcNoOperation(ClientPtr client)
|
||||||
return ((*ProcVector[X_NoOperation]) (client));
|
return ((*ProcVector[X_NoOperation]) (client));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SwapConnClientPrefix(xConnClientPrefix * pCCP)
|
SwapConnClientPrefix(xConnClientPrefix * pCCP)
|
||||||
{
|
{
|
||||||
swaps(&pCCP->majorVersion);
|
swaps(&pCCP->majorVersion);
|
||||||
|
|
|
@ -319,7 +319,7 @@ proc_dri3_dispatch(ClientPtr client)
|
||||||
return (*proc_dri3_vector[stuff->data]) (client);
|
return (*proc_dri3_vector[stuff->data]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
sproc_dri3_query_version(ClientPtr client)
|
sproc_dri3_query_version(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDRI3QueryVersionReq);
|
REQUEST(xDRI3QueryVersionReq);
|
||||||
|
@ -331,7 +331,7 @@ sproc_dri3_query_version(ClientPtr client)
|
||||||
return (*proc_dri3_vector[stuff->dri3ReqType]) (client);
|
return (*proc_dri3_vector[stuff->dri3ReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
sproc_dri3_open(ClientPtr client)
|
sproc_dri3_open(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDRI3OpenReq);
|
REQUEST(xDRI3OpenReq);
|
||||||
|
@ -343,7 +343,7 @@ sproc_dri3_open(ClientPtr client)
|
||||||
return (*proc_dri3_vector[stuff->dri3ReqType]) (client);
|
return (*proc_dri3_vector[stuff->dri3ReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
sproc_dri3_pixmap_from_buffer(ClientPtr client)
|
sproc_dri3_pixmap_from_buffer(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDRI3PixmapFromBufferReq);
|
REQUEST(xDRI3PixmapFromBufferReq);
|
||||||
|
@ -359,7 +359,7 @@ sproc_dri3_pixmap_from_buffer(ClientPtr client)
|
||||||
return (*proc_dri3_vector[stuff->dri3ReqType]) (client);
|
return (*proc_dri3_vector[stuff->dri3ReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
sproc_dri3_buffer_from_pixmap(ClientPtr client)
|
sproc_dri3_buffer_from_pixmap(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDRI3BufferFromPixmapReq);
|
REQUEST(xDRI3BufferFromPixmapReq);
|
||||||
|
@ -370,7 +370,7 @@ sproc_dri3_buffer_from_pixmap(ClientPtr client)
|
||||||
return (*proc_dri3_vector[stuff->dri3ReqType]) (client);
|
return (*proc_dri3_vector[stuff->dri3ReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
sproc_dri3_fence_from_fd(ClientPtr client)
|
sproc_dri3_fence_from_fd(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDRI3FenceFromFDReq);
|
REQUEST(xDRI3FenceFromFDReq);
|
||||||
|
@ -382,7 +382,7 @@ sproc_dri3_fence_from_fd(ClientPtr client)
|
||||||
return (*proc_dri3_vector[stuff->dri3ReqType]) (client);
|
return (*proc_dri3_vector[stuff->dri3ReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
sproc_dri3_fd_from_fence(ClientPtr client)
|
sproc_dri3_fd_from_fence(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDRI3FDFromFenceReq);
|
REQUEST(xDRI3FDFromFenceReq);
|
||||||
|
@ -403,7 +403,7 @@ int (*sproc_dri3_vector[DRI3NumberRequests]) (ClientPtr) = {
|
||||||
sproc_dri3_fd_from_fence, /* 5 */
|
sproc_dri3_fd_from_fence, /* 5 */
|
||||||
};
|
};
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
sproc_dri3_dispatch(ClientPtr client)
|
sproc_dri3_dispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
32
hw/dmx/dmx.c
32
hw/dmx/dmx.c
|
@ -969,7 +969,7 @@ ProcDMXDispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXQueryVersion(ClientPtr client)
|
SProcDMXQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDMXQueryVersionReq);
|
REQUEST(xDMXQueryVersionReq);
|
||||||
|
@ -979,7 +979,7 @@ SProcDMXQueryVersion(ClientPtr client)
|
||||||
return ProcDMXQueryVersion(client);
|
return ProcDMXQueryVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXSync(ClientPtr client)
|
SProcDMXSync(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDMXSyncReq);
|
REQUEST(xDMXSyncReq);
|
||||||
|
@ -989,7 +989,7 @@ SProcDMXSync(ClientPtr client)
|
||||||
return ProcDMXSync(client);
|
return ProcDMXSync(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXForceWindowCreation(ClientPtr client)
|
SProcDMXForceWindowCreation(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDMXForceWindowCreationReq);
|
REQUEST(xDMXForceWindowCreationReq);
|
||||||
|
@ -1000,7 +1000,7 @@ SProcDMXForceWindowCreation(ClientPtr client)
|
||||||
return ProcDMXForceWindowCreation(client);
|
return ProcDMXForceWindowCreation(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXGetScreenCount(ClientPtr client)
|
SProcDMXGetScreenCount(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDMXGetScreenCountReq);
|
REQUEST(xDMXGetScreenCountReq);
|
||||||
|
@ -1010,7 +1010,7 @@ SProcDMXGetScreenCount(ClientPtr client)
|
||||||
return ProcDMXGetScreenCount(client);
|
return ProcDMXGetScreenCount(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXGetScreenAttributes(ClientPtr client)
|
SProcDMXGetScreenAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDMXGetScreenAttributesReq);
|
REQUEST(xDMXGetScreenAttributesReq);
|
||||||
|
@ -1021,7 +1021,7 @@ SProcDMXGetScreenAttributes(ClientPtr client)
|
||||||
return ProcDMXGetScreenAttributes(client);
|
return ProcDMXGetScreenAttributes(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXChangeScreensAttributes(ClientPtr client)
|
SProcDMXChangeScreensAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDMXChangeScreensAttributesReq);
|
REQUEST(xDMXChangeScreensAttributesReq);
|
||||||
|
@ -1034,7 +1034,7 @@ SProcDMXChangeScreensAttributes(ClientPtr client)
|
||||||
return ProcDMXGetScreenAttributes(client);
|
return ProcDMXGetScreenAttributes(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXAddScreen(ClientPtr client)
|
SProcDMXAddScreen(ClientPtr client)
|
||||||
{
|
{
|
||||||
int paddedLength;
|
int paddedLength;
|
||||||
|
@ -1050,7 +1050,7 @@ SProcDMXAddScreen(ClientPtr client)
|
||||||
return ProcDMXAddScreen(client);
|
return ProcDMXAddScreen(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXRemoveScreen(ClientPtr client)
|
SProcDMXRemoveScreen(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDMXRemoveScreenReq);
|
REQUEST(xDMXRemoveScreenReq);
|
||||||
|
@ -1061,7 +1061,7 @@ SProcDMXRemoveScreen(ClientPtr client)
|
||||||
return ProcDMXRemoveScreen(client);
|
return ProcDMXRemoveScreen(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXGetWindowAttributes(ClientPtr client)
|
SProcDMXGetWindowAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDMXGetWindowAttributesReq);
|
REQUEST(xDMXGetWindowAttributesReq);
|
||||||
|
@ -1072,7 +1072,7 @@ SProcDMXGetWindowAttributes(ClientPtr client)
|
||||||
return ProcDMXGetWindowAttributes(client);
|
return ProcDMXGetWindowAttributes(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXGetDesktopAttributes(ClientPtr client)
|
SProcDMXGetDesktopAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDMXGetDesktopAttributesReq);
|
REQUEST(xDMXGetDesktopAttributesReq);
|
||||||
|
@ -1082,7 +1082,7 @@ SProcDMXGetDesktopAttributes(ClientPtr client)
|
||||||
return ProcDMXGetDesktopAttributes(client);
|
return ProcDMXGetDesktopAttributes(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXChangeDesktopAttributes(ClientPtr client)
|
SProcDMXChangeDesktopAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDMXChangeDesktopAttributesReq);
|
REQUEST(xDMXChangeDesktopAttributesReq);
|
||||||
|
@ -1094,7 +1094,7 @@ SProcDMXChangeDesktopAttributes(ClientPtr client)
|
||||||
return ProcDMXChangeDesktopAttributes(client);
|
return ProcDMXChangeDesktopAttributes(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXGetInputCount(ClientPtr client)
|
SProcDMXGetInputCount(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDMXGetInputCountReq);
|
REQUEST(xDMXGetInputCountReq);
|
||||||
|
@ -1104,7 +1104,7 @@ SProcDMXGetInputCount(ClientPtr client)
|
||||||
return ProcDMXGetInputCount(client);
|
return ProcDMXGetInputCount(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXGetInputAttributes(ClientPtr client)
|
SProcDMXGetInputAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDMXGetInputAttributesReq);
|
REQUEST(xDMXGetInputAttributesReq);
|
||||||
|
@ -1115,7 +1115,7 @@ SProcDMXGetInputAttributes(ClientPtr client)
|
||||||
return ProcDMXGetInputAttributes(client);
|
return ProcDMXGetInputAttributes(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXAddInput(ClientPtr client)
|
SProcDMXAddInput(ClientPtr client)
|
||||||
{
|
{
|
||||||
int paddedLength;
|
int paddedLength;
|
||||||
|
@ -1131,7 +1131,7 @@ SProcDMXAddInput(ClientPtr client)
|
||||||
return ProcDMXAddInput(client);
|
return ProcDMXAddInput(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXRemoveInput(ClientPtr client)
|
SProcDMXRemoveInput(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDMXRemoveInputReq);
|
REQUEST(xDMXRemoveInputReq);
|
||||||
|
@ -1142,7 +1142,7 @@ SProcDMXRemoveInput(ClientPtr client)
|
||||||
return ProcDMXRemoveInput(client);
|
return ProcDMXRemoveInput(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDMXDispatch(ClientPtr client)
|
SProcDMXDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -2052,7 +2052,7 @@ ProcXF86DGAViewPortChanged(ClientPtr client)
|
||||||
|
|
||||||
#endif /* DGA_PROTOCOL_OLD_SUPPORT */
|
#endif /* DGA_PROTOCOL_OLD_SUPPORT */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXDGADispatch(ClientPtr client)
|
SProcXDGADispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
return DGAErrorBase + XF86DGAClientNotLocal;
|
return DGAErrorBase + XF86DGAClientNotLocal;
|
||||||
|
|
|
@ -558,7 +558,7 @@ ProcXF86DRIDispatch(register ClientPtr client)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXF86DRIQueryVersion(register ClientPtr client)
|
SProcXF86DRIQueryVersion(register ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86DRIQueryVersionReq);
|
REQUEST(xXF86DRIQueryVersionReq);
|
||||||
|
@ -566,7 +566,7 @@ SProcXF86DRIQueryVersion(register ClientPtr client)
|
||||||
return ProcXF86DRIQueryVersion(client);
|
return ProcXF86DRIQueryVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXF86DRIQueryDirectRenderingCapable(register ClientPtr client)
|
SProcXF86DRIQueryDirectRenderingCapable(register ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXF86DRIQueryDirectRenderingCapableReq);
|
REQUEST(xXF86DRIQueryDirectRenderingCapableReq);
|
||||||
|
@ -575,7 +575,7 @@ SProcXF86DRIQueryDirectRenderingCapable(register ClientPtr client)
|
||||||
return ProcXF86DRIQueryDirectRenderingCapable(client);
|
return ProcXF86DRIQueryDirectRenderingCapable(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXF86DRIDispatch(register ClientPtr client)
|
SProcXF86DRIDispatch(register ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -634,7 +634,7 @@ ProcDRI2Dispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDRI2Connect(ClientPtr client)
|
SProcDRI2Connect(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xDRI2ConnectReq);
|
REQUEST(xDRI2ConnectReq);
|
||||||
|
@ -659,7 +659,7 @@ SProcDRI2Connect(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcDRI2Dispatch(ClientPtr client)
|
SProcDRI2Dispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -249,7 +249,7 @@ proc_present_dispatch(ClientPtr client)
|
||||||
return (*proc_present_vector[stuff->data]) (client);
|
return (*proc_present_vector[stuff->data]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
sproc_present_query_version(ClientPtr client)
|
sproc_present_query_version(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPresentQueryVersionReq);
|
REQUEST(xPresentQueryVersionReq);
|
||||||
|
@ -261,7 +261,7 @@ sproc_present_query_version(ClientPtr client)
|
||||||
return (*proc_present_vector[stuff->presentReqType]) (client);
|
return (*proc_present_vector[stuff->presentReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
sproc_present_pixmap(ClientPtr client)
|
sproc_present_pixmap(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPresentPixmapReq);
|
REQUEST(xPresentPixmapReq);
|
||||||
|
@ -281,7 +281,7 @@ sproc_present_pixmap(ClientPtr client)
|
||||||
return (*proc_present_vector[stuff->presentReqType]) (client);
|
return (*proc_present_vector[stuff->presentReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
sproc_present_notify_msc(ClientPtr client)
|
sproc_present_notify_msc(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPresentNotifyMSCReq);
|
REQUEST(xPresentNotifyMSCReq);
|
||||||
|
@ -295,7 +295,7 @@ sproc_present_notify_msc(ClientPtr client)
|
||||||
return (*proc_present_vector[stuff->presentReqType]) (client);
|
return (*proc_present_vector[stuff->presentReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
sproc_present_select_input (ClientPtr client)
|
sproc_present_select_input (ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPresentSelectInputReq);
|
REQUEST(xPresentSelectInputReq);
|
||||||
|
@ -307,7 +307,7 @@ sproc_present_select_input (ClientPtr client)
|
||||||
return (*proc_present_vector[stuff->presentReqType]) (client);
|
return (*proc_present_vector[stuff->presentReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
sproc_present_query_capabilities (ClientPtr client)
|
sproc_present_query_capabilities (ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPresentQueryCapabilitiesReq);
|
REQUEST(xPresentQueryCapabilitiesReq);
|
||||||
|
@ -325,7 +325,7 @@ static int (*sproc_present_vector[PresentNumberRequests]) (ClientPtr) = {
|
||||||
sproc_present_query_capabilities, /* 4 */
|
sproc_present_query_capabilities, /* 4 */
|
||||||
};
|
};
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
sproc_present_dispatch(ClientPtr client)
|
sproc_present_dispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -211,7 +211,7 @@ SRRProviderPropertyNotifyEvent(xRRProviderPropertyNotifyEvent * from,
|
||||||
/* pad4 */
|
/* pad4 */
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SRRResourceChangeNotifyEvent(xRRResourceChangeNotifyEvent * from,
|
SRRResourceChangeNotifyEvent(xRRResourceChangeNotifyEvent * from,
|
||||||
xRRResourceChangeNotifyEvent * to)
|
xRRResourceChangeNotifyEvent * to)
|
||||||
{
|
{
|
||||||
|
@ -222,7 +222,7 @@ SRRResourceChangeNotifyEvent(xRRResourceChangeNotifyEvent * from,
|
||||||
cpswapl(from->window, to->window);
|
cpswapl(from->window, to->window);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
SRRNotifyEvent(xEvent *from, xEvent *to)
|
SRRNotifyEvent(xEvent *from, xEvent *to)
|
||||||
{
|
{
|
||||||
switch (from->u.u.detail) {
|
switch (from->u.u.detail) {
|
||||||
|
@ -682,7 +682,7 @@ ProcRRDispatch(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->data]) (client);
|
return (*ProcRandrVector[stuff->data]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRDispatch(ClientPtr client)
|
SProcRRDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include "randrstr.h"
|
#include "randrstr.h"
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRQueryVersion(ClientPtr client)
|
SProcRRQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRQueryVersionReq);
|
REQUEST(xRRQueryVersionReq);
|
||||||
|
@ -34,7 +34,7 @@ SProcRRQueryVersion(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRGetScreenInfo(ClientPtr client)
|
SProcRRGetScreenInfo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetScreenInfoReq);
|
REQUEST(xRRGetScreenInfoReq);
|
||||||
|
@ -45,7 +45,7 @@ SProcRRGetScreenInfo(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRSetScreenConfig(ClientPtr client)
|
SProcRRSetScreenConfig(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRSetScreenConfigReq);
|
REQUEST(xRRSetScreenConfigReq);
|
||||||
|
@ -66,7 +66,7 @@ SProcRRSetScreenConfig(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRSelectInput(ClientPtr client)
|
SProcRRSelectInput(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRSelectInputReq);
|
REQUEST(xRRSelectInputReq);
|
||||||
|
@ -78,7 +78,7 @@ SProcRRSelectInput(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRGetScreenSizeRange(ClientPtr client)
|
SProcRRGetScreenSizeRange(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetScreenSizeRangeReq);
|
REQUEST(xRRGetScreenSizeRangeReq);
|
||||||
|
@ -89,7 +89,7 @@ SProcRRGetScreenSizeRange(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRSetScreenSize(ClientPtr client)
|
SProcRRSetScreenSize(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRSetScreenSizeReq);
|
REQUEST(xRRSetScreenSizeReq);
|
||||||
|
@ -104,7 +104,7 @@ SProcRRSetScreenSize(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRGetScreenResources(ClientPtr client)
|
SProcRRGetScreenResources(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetScreenResourcesReq);
|
REQUEST(xRRGetScreenResourcesReq);
|
||||||
|
@ -115,7 +115,7 @@ SProcRRGetScreenResources(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRGetOutputInfo(ClientPtr client)
|
SProcRRGetOutputInfo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetOutputInfoReq);
|
REQUEST(xRRGetOutputInfoReq);
|
||||||
|
@ -127,7 +127,7 @@ SProcRRGetOutputInfo(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRListOutputProperties(ClientPtr client)
|
SProcRRListOutputProperties(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRListOutputPropertiesReq);
|
REQUEST(xRRListOutputPropertiesReq);
|
||||||
|
@ -138,7 +138,7 @@ SProcRRListOutputProperties(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRQueryOutputProperty(ClientPtr client)
|
SProcRRQueryOutputProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRQueryOutputPropertyReq);
|
REQUEST(xRRQueryOutputPropertyReq);
|
||||||
|
@ -150,7 +150,7 @@ SProcRRQueryOutputProperty(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRConfigureOutputProperty(ClientPtr client)
|
SProcRRConfigureOutputProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRConfigureOutputPropertyReq);
|
REQUEST(xRRConfigureOutputPropertyReq);
|
||||||
|
@ -163,7 +163,7 @@ SProcRRConfigureOutputProperty(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRChangeOutputProperty(ClientPtr client)
|
SProcRRChangeOutputProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRChangeOutputPropertyReq);
|
REQUEST(xRRChangeOutputPropertyReq);
|
||||||
|
@ -190,7 +190,7 @@ SProcRRChangeOutputProperty(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRDeleteOutputProperty(ClientPtr client)
|
SProcRRDeleteOutputProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRDeleteOutputPropertyReq);
|
REQUEST(xRRDeleteOutputPropertyReq);
|
||||||
|
@ -202,7 +202,7 @@ SProcRRDeleteOutputProperty(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRGetOutputProperty(ClientPtr client)
|
SProcRRGetOutputProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetOutputPropertyReq);
|
REQUEST(xRRGetOutputPropertyReq);
|
||||||
|
@ -217,7 +217,7 @@ SProcRRGetOutputProperty(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRCreateMode(ClientPtr client)
|
SProcRRCreateMode(ClientPtr client)
|
||||||
{
|
{
|
||||||
xRRModeInfo *modeinfo;
|
xRRModeInfo *modeinfo;
|
||||||
|
@ -244,7 +244,7 @@ SProcRRCreateMode(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRDestroyMode(ClientPtr client)
|
SProcRRDestroyMode(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRDestroyModeReq);
|
REQUEST(xRRDestroyModeReq);
|
||||||
|
@ -255,7 +255,7 @@ SProcRRDestroyMode(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRAddOutputMode(ClientPtr client)
|
SProcRRAddOutputMode(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRAddOutputModeReq);
|
REQUEST(xRRAddOutputModeReq);
|
||||||
|
@ -267,7 +267,7 @@ SProcRRAddOutputMode(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRDeleteOutputMode(ClientPtr client)
|
SProcRRDeleteOutputMode(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRDeleteOutputModeReq);
|
REQUEST(xRRDeleteOutputModeReq);
|
||||||
|
@ -279,7 +279,7 @@ SProcRRDeleteOutputMode(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRGetCrtcInfo(ClientPtr client)
|
SProcRRGetCrtcInfo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetCrtcInfoReq);
|
REQUEST(xRRGetCrtcInfoReq);
|
||||||
|
@ -291,7 +291,7 @@ SProcRRGetCrtcInfo(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRSetCrtcConfig(ClientPtr client)
|
SProcRRSetCrtcConfig(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRSetCrtcConfigReq);
|
REQUEST(xRRSetCrtcConfigReq);
|
||||||
|
@ -309,7 +309,7 @@ SProcRRSetCrtcConfig(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRGetCrtcGammaSize(ClientPtr client)
|
SProcRRGetCrtcGammaSize(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetCrtcGammaSizeReq);
|
REQUEST(xRRGetCrtcGammaSizeReq);
|
||||||
|
@ -320,7 +320,7 @@ SProcRRGetCrtcGammaSize(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRGetCrtcGamma(ClientPtr client)
|
SProcRRGetCrtcGamma(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetCrtcGammaReq);
|
REQUEST(xRRGetCrtcGammaReq);
|
||||||
|
@ -331,7 +331,7 @@ SProcRRGetCrtcGamma(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRSetCrtcGamma(ClientPtr client)
|
SProcRRSetCrtcGamma(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRSetCrtcGammaReq);
|
REQUEST(xRRSetCrtcGammaReq);
|
||||||
|
@ -344,7 +344,7 @@ SProcRRSetCrtcGamma(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRSetCrtcTransform(ClientPtr client)
|
SProcRRSetCrtcTransform(ClientPtr client)
|
||||||
{
|
{
|
||||||
int nparams;
|
int nparams;
|
||||||
|
@ -369,7 +369,7 @@ SProcRRSetCrtcTransform(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRGetCrtcTransform(ClientPtr client)
|
SProcRRGetCrtcTransform(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetCrtcTransformReq);
|
REQUEST(xRRGetCrtcTransformReq);
|
||||||
|
@ -380,7 +380,7 @@ SProcRRGetCrtcTransform(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRGetPanning(ClientPtr client)
|
SProcRRGetPanning(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetPanningReq);
|
REQUEST(xRRGetPanningReq);
|
||||||
|
@ -391,7 +391,7 @@ SProcRRGetPanning(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRSetPanning(ClientPtr client)
|
SProcRRSetPanning(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRSetPanningReq);
|
REQUEST(xRRSetPanningReq);
|
||||||
|
@ -415,7 +415,7 @@ SProcRRSetPanning(ClientPtr client)
|
||||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRSetOutputPrimary(ClientPtr client)
|
SProcRRSetOutputPrimary(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRSetOutputPrimaryReq);
|
REQUEST(xRRSetOutputPrimaryReq);
|
||||||
|
@ -427,7 +427,7 @@ SProcRRSetOutputPrimary(ClientPtr client)
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRGetOutputPrimary(ClientPtr client)
|
SProcRRGetOutputPrimary(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetOutputPrimaryReq);
|
REQUEST(xRRGetOutputPrimaryReq);
|
||||||
|
@ -438,7 +438,8 @@ SProcRRGetOutputPrimary(ClientPtr client)
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int SProcRRGetProviders(ClientPtr client)
|
static int _X_COLD
|
||||||
|
SProcRRGetProviders(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetProvidersReq);
|
REQUEST(xRRGetProvidersReq);
|
||||||
|
|
||||||
|
@ -448,7 +449,8 @@ static int SProcRRGetProviders(ClientPtr client)
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int SProcRRGetProviderInfo(ClientPtr client)
|
static int _X_COLD
|
||||||
|
SProcRRGetProviderInfo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetProviderInfoReq);
|
REQUEST(xRRGetProviderInfoReq);
|
||||||
|
|
||||||
|
@ -459,7 +461,8 @@ static int SProcRRGetProviderInfo(ClientPtr client)
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int SProcRRSetProviderOffloadSink(ClientPtr client)
|
static int _X_COLD
|
||||||
|
SProcRRSetProviderOffloadSink(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRSetProviderOffloadSinkReq);
|
REQUEST(xRRSetProviderOffloadSinkReq);
|
||||||
|
|
||||||
|
@ -471,7 +474,8 @@ static int SProcRRSetProviderOffloadSink(ClientPtr client)
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int SProcRRSetProviderOutputSource(ClientPtr client)
|
static int _X_COLD
|
||||||
|
SProcRRSetProviderOutputSource(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRSetProviderOutputSourceReq);
|
REQUEST(xRRSetProviderOutputSourceReq);
|
||||||
|
|
||||||
|
@ -483,7 +487,8 @@ static int SProcRRSetProviderOutputSource(ClientPtr client)
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int SProcRRListProviderProperties(ClientPtr client)
|
static int _X_COLD
|
||||||
|
SProcRRListProviderProperties(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRListProviderPropertiesReq);
|
REQUEST(xRRListProviderPropertiesReq);
|
||||||
|
|
||||||
|
@ -493,7 +498,8 @@ static int SProcRRListProviderProperties(ClientPtr client)
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int SProcRRQueryProviderProperty(ClientPtr client)
|
static int _X_COLD
|
||||||
|
SProcRRQueryProviderProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRQueryProviderPropertyReq);
|
REQUEST(xRRQueryProviderPropertyReq);
|
||||||
|
|
||||||
|
@ -504,7 +510,8 @@ static int SProcRRQueryProviderProperty(ClientPtr client)
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int SProcRRConfigureProviderProperty(ClientPtr client)
|
static int _X_COLD
|
||||||
|
SProcRRConfigureProviderProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRConfigureProviderPropertyReq);
|
REQUEST(xRRConfigureProviderPropertyReq);
|
||||||
|
|
||||||
|
@ -517,7 +524,8 @@ static int SProcRRConfigureProviderProperty(ClientPtr client)
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int SProcRRChangeProviderProperty(ClientPtr client)
|
static int _X_COLD
|
||||||
|
SProcRRChangeProviderProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRChangeProviderPropertyReq);
|
REQUEST(xRRChangeProviderPropertyReq);
|
||||||
|
|
||||||
|
@ -540,7 +548,8 @@ static int SProcRRChangeProviderProperty(ClientPtr client)
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int SProcRRDeleteProviderProperty(ClientPtr client)
|
static int _X_COLD
|
||||||
|
SProcRRDeleteProviderProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRDeleteProviderPropertyReq);
|
REQUEST(xRRDeleteProviderPropertyReq);
|
||||||
|
|
||||||
|
@ -551,7 +560,8 @@ static int SProcRRDeleteProviderProperty(ClientPtr client)
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int SProcRRGetProviderProperty(ClientPtr client)
|
static int _X_COLD
|
||||||
|
SProcRRGetProviderProperty(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRRGetProviderPropertyReq);
|
REQUEST(xRRGetProviderPropertyReq);
|
||||||
|
|
||||||
|
@ -565,7 +575,8 @@ static int SProcRRGetProviderProperty(ClientPtr client)
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int SProcRRGetMonitors(ClientPtr client) {
|
static int _X_COLD
|
||||||
|
SProcRRGetMonitors(ClientPtr client) {
|
||||||
REQUEST(xRRGetMonitorsReq);
|
REQUEST(xRRGetMonitorsReq);
|
||||||
|
|
||||||
REQUEST_SIZE_MATCH(xRRGetMonitorsReq);
|
REQUEST_SIZE_MATCH(xRRGetMonitorsReq);
|
||||||
|
@ -574,7 +585,8 @@ static int SProcRRGetMonitors(ClientPtr client) {
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int SProcRRSetMonitor(ClientPtr client) {
|
static int _X_COLD
|
||||||
|
SProcRRSetMonitor(ClientPtr client) {
|
||||||
REQUEST(xRRSetMonitorReq);
|
REQUEST(xRRSetMonitorReq);
|
||||||
|
|
||||||
REQUEST_AT_LEAST_SIZE(xRRGetMonitorsReq);
|
REQUEST_AT_LEAST_SIZE(xRRGetMonitorsReq);
|
||||||
|
@ -590,7 +602,8 @@ static int SProcRRSetMonitor(ClientPtr client) {
|
||||||
return ProcRandrVector[stuff->randrReqType] (client);
|
return ProcRandrVector[stuff->randrReqType] (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int SProcRRDeleteMonitor(ClientPtr client) {
|
static int _X_COLD
|
||||||
|
SProcRRDeleteMonitor(ClientPtr client) {
|
||||||
REQUEST(xRRDeleteMonitorReq);
|
REQUEST(xRRDeleteMonitorReq);
|
||||||
|
|
||||||
REQUEST_SIZE_MATCH(xRRDeleteMonitorReq);
|
REQUEST_SIZE_MATCH(xRRDeleteMonitorReq);
|
||||||
|
|
|
@ -82,7 +82,7 @@ static int ProcRRXineramaGetScreenCount(ClientPtr client);
|
||||||
static int ProcRRXineramaGetScreenSize(ClientPtr client);
|
static int ProcRRXineramaGetScreenSize(ClientPtr client);
|
||||||
static int ProcRRXineramaIsActive(ClientPtr client);
|
static int ProcRRXineramaIsActive(ClientPtr client);
|
||||||
static int ProcRRXineramaQueryScreens(ClientPtr client);
|
static int ProcRRXineramaQueryScreens(ClientPtr client);
|
||||||
static int SProcRRXineramaDispatch(ClientPtr client);
|
static int _X_COLD SProcRRXineramaDispatch(ClientPtr client);
|
||||||
|
|
||||||
Bool noRRXineramaExtension = FALSE;
|
Bool noRRXineramaExtension = FALSE;
|
||||||
|
|
||||||
|
@ -332,7 +332,7 @@ ProcRRXineramaDispatch(ClientPtr client)
|
||||||
|
|
||||||
/* SProc */
|
/* SProc */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRXineramaQueryVersion(ClientPtr client)
|
SProcRRXineramaQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPanoramiXQueryVersionReq);
|
REQUEST(xPanoramiXQueryVersionReq);
|
||||||
|
@ -341,7 +341,7 @@ SProcRRXineramaQueryVersion(ClientPtr client)
|
||||||
return ProcRRXineramaQueryVersion(client);
|
return ProcRRXineramaQueryVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRXineramaGetState(ClientPtr client)
|
SProcRRXineramaGetState(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPanoramiXGetStateReq);
|
REQUEST(xPanoramiXGetStateReq);
|
||||||
|
@ -351,7 +351,7 @@ SProcRRXineramaGetState(ClientPtr client)
|
||||||
return ProcRRXineramaGetState(client);
|
return ProcRRXineramaGetState(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRXineramaGetScreenCount(ClientPtr client)
|
SProcRRXineramaGetScreenCount(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPanoramiXGetScreenCountReq);
|
REQUEST(xPanoramiXGetScreenCountReq);
|
||||||
|
@ -361,7 +361,7 @@ SProcRRXineramaGetScreenCount(ClientPtr client)
|
||||||
return ProcRRXineramaGetScreenCount(client);
|
return ProcRRXineramaGetScreenCount(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRXineramaGetScreenSize(ClientPtr client)
|
SProcRRXineramaGetScreenSize(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xPanoramiXGetScreenSizeReq);
|
REQUEST(xPanoramiXGetScreenSizeReq);
|
||||||
|
@ -372,7 +372,7 @@ SProcRRXineramaGetScreenSize(ClientPtr client)
|
||||||
return ProcRRXineramaGetScreenSize(client);
|
return ProcRRXineramaGetScreenSize(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRXineramaIsActive(ClientPtr client)
|
SProcRRXineramaIsActive(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXineramaIsActiveReq);
|
REQUEST(xXineramaIsActiveReq);
|
||||||
|
@ -381,7 +381,7 @@ SProcRRXineramaIsActive(ClientPtr client)
|
||||||
return ProcRRXineramaIsActive(client);
|
return ProcRRXineramaIsActive(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRRXineramaQueryScreens(ClientPtr client)
|
SProcRRXineramaQueryScreens(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXineramaQueryScreensReq);
|
REQUEST(xXineramaQueryScreensReq);
|
||||||
|
|
|
@ -2485,7 +2485,7 @@ ProcRecordDispatch(ClientPtr client)
|
||||||
}
|
}
|
||||||
} /* ProcRecordDispatch */
|
} /* ProcRecordDispatch */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRecordQueryVersion(ClientPtr client)
|
SProcRecordQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRecordQueryVersionReq);
|
REQUEST(xRecordQueryVersionReq);
|
||||||
|
@ -2497,7 +2497,7 @@ SProcRecordQueryVersion(ClientPtr client)
|
||||||
return ProcRecordQueryVersion(client);
|
return ProcRecordQueryVersion(client);
|
||||||
} /* SProcRecordQueryVersion */
|
} /* SProcRecordQueryVersion */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SwapCreateRegister(xRecordRegisterClientsReq * stuff)
|
SwapCreateRegister(xRecordRegisterClientsReq * stuff)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -2521,7 +2521,7 @@ SwapCreateRegister(xRecordRegisterClientsReq * stuff)
|
||||||
return Success;
|
return Success;
|
||||||
} /* SwapCreateRegister */
|
} /* SwapCreateRegister */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRecordCreateContext(ClientPtr client)
|
SProcRecordCreateContext(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRecordCreateContextReq);
|
REQUEST(xRecordCreateContextReq);
|
||||||
|
@ -2534,7 +2534,7 @@ SProcRecordCreateContext(ClientPtr client)
|
||||||
return ProcRecordCreateContext(client);
|
return ProcRecordCreateContext(client);
|
||||||
} /* SProcRecordCreateContext */
|
} /* SProcRecordCreateContext */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRecordRegisterClients(ClientPtr client)
|
SProcRecordRegisterClients(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRecordRegisterClientsReq);
|
REQUEST(xRecordRegisterClientsReq);
|
||||||
|
@ -2547,7 +2547,7 @@ SProcRecordRegisterClients(ClientPtr client)
|
||||||
return ProcRecordRegisterClients(client);
|
return ProcRecordRegisterClients(client);
|
||||||
} /* SProcRecordRegisterClients */
|
} /* SProcRecordRegisterClients */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRecordUnregisterClients(ClientPtr client)
|
SProcRecordUnregisterClients(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRecordUnregisterClientsReq);
|
REQUEST(xRecordUnregisterClientsReq);
|
||||||
|
@ -2560,7 +2560,7 @@ SProcRecordUnregisterClients(ClientPtr client)
|
||||||
return ProcRecordUnregisterClients(client);
|
return ProcRecordUnregisterClients(client);
|
||||||
} /* SProcRecordUnregisterClients */
|
} /* SProcRecordUnregisterClients */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRecordGetContext(ClientPtr client)
|
SProcRecordGetContext(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRecordGetContextReq);
|
REQUEST(xRecordGetContextReq);
|
||||||
|
@ -2571,7 +2571,7 @@ SProcRecordGetContext(ClientPtr client)
|
||||||
return ProcRecordGetContext(client);
|
return ProcRecordGetContext(client);
|
||||||
} /* SProcRecordGetContext */
|
} /* SProcRecordGetContext */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRecordEnableContext(ClientPtr client)
|
SProcRecordEnableContext(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRecordEnableContextReq);
|
REQUEST(xRecordEnableContextReq);
|
||||||
|
@ -2582,7 +2582,7 @@ SProcRecordEnableContext(ClientPtr client)
|
||||||
return ProcRecordEnableContext(client);
|
return ProcRecordEnableContext(client);
|
||||||
} /* SProcRecordEnableContext */
|
} /* SProcRecordEnableContext */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRecordDisableContext(ClientPtr client)
|
SProcRecordDisableContext(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRecordDisableContextReq);
|
REQUEST(xRecordDisableContextReq);
|
||||||
|
@ -2593,7 +2593,7 @@ SProcRecordDisableContext(ClientPtr client)
|
||||||
return ProcRecordDisableContext(client);
|
return ProcRecordDisableContext(client);
|
||||||
} /* SProcRecordDisableContext */
|
} /* SProcRecordDisableContext */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRecordFreeContext(ClientPtr client)
|
SProcRecordFreeContext(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRecordFreeContextReq);
|
REQUEST(xRecordFreeContextReq);
|
||||||
|
@ -2604,7 +2604,7 @@ SProcRecordFreeContext(ClientPtr client)
|
||||||
return ProcRecordFreeContext(client);
|
return ProcRecordFreeContext(client);
|
||||||
} /* SProcRecordFreeContext */
|
} /* SProcRecordFreeContext */
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRecordDispatch(ClientPtr client)
|
SProcRecordDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -1978,7 +1978,7 @@ ProcRenderDispatch(ClientPtr client)
|
||||||
return BadRequest;
|
return BadRequest;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderQueryVersion(ClientPtr client)
|
SProcRenderQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderQueryVersionReq);
|
REQUEST(xRenderQueryVersionReq);
|
||||||
|
@ -1989,7 +1989,7 @@ SProcRenderQueryVersion(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderQueryPictFormats(ClientPtr client)
|
SProcRenderQueryPictFormats(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderQueryPictFormatsReq);
|
REQUEST(xRenderQueryPictFormatsReq);
|
||||||
|
@ -1998,7 +1998,7 @@ SProcRenderQueryPictFormats(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderQueryPictIndexValues(ClientPtr client)
|
SProcRenderQueryPictIndexValues(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderQueryPictIndexValuesReq);
|
REQUEST(xRenderQueryPictIndexValuesReq);
|
||||||
|
@ -2008,13 +2008,13 @@ SProcRenderQueryPictIndexValues(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderQueryDithers(ClientPtr client)
|
SProcRenderQueryDithers(ClientPtr client)
|
||||||
{
|
{
|
||||||
return BadImplementation;
|
return BadImplementation;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderCreatePicture(ClientPtr client)
|
SProcRenderCreatePicture(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderCreatePictureReq);
|
REQUEST(xRenderCreatePictureReq);
|
||||||
|
@ -2028,7 +2028,7 @@ SProcRenderCreatePicture(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderChangePicture(ClientPtr client)
|
SProcRenderChangePicture(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderChangePictureReq);
|
REQUEST(xRenderChangePictureReq);
|
||||||
|
@ -2040,7 +2040,7 @@ SProcRenderChangePicture(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderSetPictureClipRectangles(ClientPtr client)
|
SProcRenderSetPictureClipRectangles(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderSetPictureClipRectanglesReq);
|
REQUEST(xRenderSetPictureClipRectanglesReq);
|
||||||
|
@ -2053,7 +2053,7 @@ SProcRenderSetPictureClipRectangles(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderFreePicture(ClientPtr client)
|
SProcRenderFreePicture(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderFreePictureReq);
|
REQUEST(xRenderFreePictureReq);
|
||||||
|
@ -2063,7 +2063,7 @@ SProcRenderFreePicture(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderComposite(ClientPtr client)
|
SProcRenderComposite(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderCompositeReq);
|
REQUEST(xRenderCompositeReq);
|
||||||
|
@ -2083,13 +2083,13 @@ SProcRenderComposite(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderScale(ClientPtr client)
|
SProcRenderScale(ClientPtr client)
|
||||||
{
|
{
|
||||||
return BadImplementation;
|
return BadImplementation;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderTrapezoids(ClientPtr client)
|
SProcRenderTrapezoids(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderTrapezoidsReq);
|
REQUEST(xRenderTrapezoidsReq);
|
||||||
|
@ -2105,7 +2105,7 @@ SProcRenderTrapezoids(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderTriangles(ClientPtr client)
|
SProcRenderTriangles(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderTrianglesReq);
|
REQUEST(xRenderTrianglesReq);
|
||||||
|
@ -2121,7 +2121,7 @@ SProcRenderTriangles(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderTriStrip(ClientPtr client)
|
SProcRenderTriStrip(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderTriStripReq);
|
REQUEST(xRenderTriStripReq);
|
||||||
|
@ -2137,7 +2137,7 @@ SProcRenderTriStrip(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderTriFan(ClientPtr client)
|
SProcRenderTriFan(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderTriFanReq);
|
REQUEST(xRenderTriFanReq);
|
||||||
|
@ -2153,25 +2153,25 @@ SProcRenderTriFan(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderColorTrapezoids(ClientPtr client)
|
SProcRenderColorTrapezoids(ClientPtr client)
|
||||||
{
|
{
|
||||||
return BadImplementation;
|
return BadImplementation;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderColorTriangles(ClientPtr client)
|
SProcRenderColorTriangles(ClientPtr client)
|
||||||
{
|
{
|
||||||
return BadImplementation;
|
return BadImplementation;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderTransform(ClientPtr client)
|
SProcRenderTransform(ClientPtr client)
|
||||||
{
|
{
|
||||||
return BadImplementation;
|
return BadImplementation;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderCreateGlyphSet(ClientPtr client)
|
SProcRenderCreateGlyphSet(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderCreateGlyphSetReq);
|
REQUEST(xRenderCreateGlyphSetReq);
|
||||||
|
@ -2182,7 +2182,7 @@ SProcRenderCreateGlyphSet(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderReferenceGlyphSet(ClientPtr client)
|
SProcRenderReferenceGlyphSet(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderReferenceGlyphSetReq);
|
REQUEST(xRenderReferenceGlyphSetReq);
|
||||||
|
@ -2193,7 +2193,7 @@ SProcRenderReferenceGlyphSet(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderFreeGlyphSet(ClientPtr client)
|
SProcRenderFreeGlyphSet(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderFreeGlyphSetReq);
|
REQUEST(xRenderFreeGlyphSetReq);
|
||||||
|
@ -2203,7 +2203,7 @@ SProcRenderFreeGlyphSet(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderAddGlyphs(ClientPtr client)
|
SProcRenderAddGlyphs(ClientPtr client)
|
||||||
{
|
{
|
||||||
register int i;
|
register int i;
|
||||||
|
@ -2237,13 +2237,13 @@ SProcRenderAddGlyphs(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderAddGlyphsFromPicture(ClientPtr client)
|
SProcRenderAddGlyphsFromPicture(ClientPtr client)
|
||||||
{
|
{
|
||||||
return BadImplementation;
|
return BadImplementation;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderFreeGlyphs(ClientPtr client)
|
SProcRenderFreeGlyphs(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderFreeGlyphsReq);
|
REQUEST(xRenderFreeGlyphsReq);
|
||||||
|
@ -2254,7 +2254,7 @@ SProcRenderFreeGlyphs(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderCompositeGlyphs(ClientPtr client)
|
SProcRenderCompositeGlyphs(ClientPtr client)
|
||||||
{
|
{
|
||||||
xGlyphElt *elt;
|
xGlyphElt *elt;
|
||||||
|
@ -2326,7 +2326,7 @@ SProcRenderCompositeGlyphs(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderFillRectangles(ClientPtr client)
|
SProcRenderFillRectangles(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderFillRectanglesReq);
|
REQUEST(xRenderFillRectanglesReq);
|
||||||
|
@ -2342,7 +2342,7 @@ SProcRenderFillRectangles(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderCreateCursor(ClientPtr client)
|
SProcRenderCreateCursor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderCreateCursorReq);
|
REQUEST(xRenderCreateCursorReq);
|
||||||
|
@ -2356,7 +2356,7 @@ SProcRenderCreateCursor(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderSetPictureTransform(ClientPtr client)
|
SProcRenderSetPictureTransform(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderSetPictureTransformReq);
|
REQUEST(xRenderSetPictureTransformReq);
|
||||||
|
@ -2376,7 +2376,7 @@ SProcRenderSetPictureTransform(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderQueryFilters(ClientPtr client)
|
SProcRenderQueryFilters(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderQueryFiltersReq);
|
REQUEST(xRenderQueryFiltersReq);
|
||||||
|
@ -2387,7 +2387,7 @@ SProcRenderQueryFilters(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderSetPictureFilter(ClientPtr client)
|
SProcRenderSetPictureFilter(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderSetPictureFilterReq);
|
REQUEST(xRenderSetPictureFilterReq);
|
||||||
|
@ -2399,7 +2399,7 @@ SProcRenderSetPictureFilter(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderCreateAnimCursor(ClientPtr client)
|
SProcRenderCreateAnimCursor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderCreateAnimCursorReq);
|
REQUEST(xRenderCreateAnimCursorReq);
|
||||||
|
@ -2411,7 +2411,7 @@ SProcRenderCreateAnimCursor(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderAddTraps(ClientPtr client)
|
SProcRenderAddTraps(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderAddTrapsReq);
|
REQUEST(xRenderAddTrapsReq);
|
||||||
|
@ -2425,7 +2425,7 @@ SProcRenderAddTraps(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderCreateSolidFill(ClientPtr client)
|
SProcRenderCreateSolidFill(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xRenderCreateSolidFillReq);
|
REQUEST(xRenderCreateSolidFillReq);
|
||||||
|
@ -2440,7 +2440,7 @@ SProcRenderCreateSolidFill(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void _X_COLD
|
||||||
swapStops(void *stuff, int num)
|
swapStops(void *stuff, int num)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -2459,7 +2459,7 @@ swapStops(void *stuff, int num)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderCreateLinearGradient(ClientPtr client)
|
SProcRenderCreateLinearGradient(ClientPtr client)
|
||||||
{
|
{
|
||||||
int len;
|
int len;
|
||||||
|
@ -2486,7 +2486,7 @@ SProcRenderCreateLinearGradient(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderCreateRadialGradient(ClientPtr client)
|
SProcRenderCreateRadialGradient(ClientPtr client)
|
||||||
{
|
{
|
||||||
int len;
|
int len;
|
||||||
|
@ -2515,7 +2515,7 @@ SProcRenderCreateRadialGradient(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderCreateConicalGradient(ClientPtr client)
|
SProcRenderCreateConicalGradient(ClientPtr client)
|
||||||
{
|
{
|
||||||
int len;
|
int len;
|
||||||
|
@ -2541,7 +2541,7 @@ SProcRenderCreateConicalGradient(ClientPtr client)
|
||||||
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
return (*ProcRenderVector[stuff->renderReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcRenderDispatch(ClientPtr client)
|
SProcRenderDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
|
@ -277,7 +277,7 @@ GetBit(unsigned char *line, int x)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesSelectCursorInput(ClientPtr client)
|
SProcXFixesSelectCursorInput(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesSelectCursorInputReq);
|
REQUEST(xXFixesSelectCursorInputReq);
|
||||||
|
@ -288,7 +288,7 @@ SProcXFixesSelectCursorInput(ClientPtr client)
|
||||||
return (*ProcXFixesVector[stuff->xfixesReqType]) (client);
|
return (*ProcXFixesVector[stuff->xfixesReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SXFixesCursorNotifyEvent(xXFixesCursorNotifyEvent * from,
|
SXFixesCursorNotifyEvent(xXFixesCursorNotifyEvent * from,
|
||||||
xXFixesCursorNotifyEvent * to)
|
xXFixesCursorNotifyEvent * to)
|
||||||
{
|
{
|
||||||
|
@ -397,7 +397,7 @@ ProcXFixesGetCursorImage(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesGetCursorImage(ClientPtr client)
|
SProcXFixesGetCursorImage(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesGetCursorImageReq);
|
REQUEST(xXFixesGetCursorImageReq);
|
||||||
|
@ -425,7 +425,7 @@ ProcXFixesSetCursorName(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesSetCursorName(ClientPtr client)
|
SProcXFixesSetCursorName(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesSetCursorNameReq);
|
REQUEST(xXFixesSetCursorNameReq);
|
||||||
|
@ -474,7 +474,7 @@ ProcXFixesGetCursorName(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesGetCursorName(ClientPtr client)
|
SProcXFixesGetCursorName(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesGetCursorNameReq);
|
REQUEST(xXFixesGetCursorNameReq);
|
||||||
|
@ -554,7 +554,7 @@ ProcXFixesGetCursorImageAndName(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesGetCursorImageAndName(ClientPtr client)
|
SProcXFixesGetCursorImageAndName(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesGetCursorImageAndNameReq);
|
REQUEST(xXFixesGetCursorImageAndNameReq);
|
||||||
|
@ -681,7 +681,7 @@ ProcXFixesChangeCursor(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesChangeCursor(ClientPtr client)
|
SProcXFixesChangeCursor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesChangeCursorReq);
|
REQUEST(xXFixesChangeCursorReq);
|
||||||
|
@ -720,7 +720,7 @@ ProcXFixesChangeCursorByName(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesChangeCursorByName(ClientPtr client)
|
SProcXFixesChangeCursorByName(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesChangeCursorByNameReq);
|
REQUEST(xXFixesChangeCursorByNameReq);
|
||||||
|
@ -880,7 +880,7 @@ ProcXFixesHideCursor(ClientPtr client)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesHideCursor(ClientPtr client)
|
SProcXFixesHideCursor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesHideCursorReq);
|
REQUEST(xXFixesHideCursorReq);
|
||||||
|
@ -931,7 +931,7 @@ ProcXFixesShowCursor(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesShowCursor(ClientPtr client)
|
SProcXFixesShowCursor(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesShowCursorReq);
|
REQUEST(xXFixesShowCursorReq);
|
||||||
|
@ -1000,7 +1000,7 @@ ProcXFixesCreatePointerBarrier(ClientPtr client)
|
||||||
return XICreatePointerBarrier(client, stuff);
|
return XICreatePointerBarrier(client, stuff);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesCreatePointerBarrier(ClientPtr client)
|
SProcXFixesCreatePointerBarrier(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesCreatePointerBarrierReq);
|
REQUEST(xXFixesCreatePointerBarrierReq);
|
||||||
|
@ -1035,7 +1035,7 @@ ProcXFixesDestroyPointerBarrier(ClientPtr client)
|
||||||
return XIDestroyPointerBarrier(client, stuff);
|
return XIDestroyPointerBarrier(client, stuff);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesDestroyPointerBarrier(ClientPtr client)
|
SProcXFixesDestroyPointerBarrier(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesDestroyPointerBarrierReq);
|
REQUEST(xXFixesDestroyPointerBarrierReq);
|
||||||
|
|
|
@ -91,7 +91,7 @@ ProcXFixesCreateRegion(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesCreateRegion(ClientPtr client)
|
SProcXFixesCreateRegion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesCreateRegionReq);
|
REQUEST(xXFixesCreateRegionReq);
|
||||||
|
@ -135,7 +135,7 @@ ProcXFixesCreateRegionFromBitmap(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesCreateRegionFromBitmap(ClientPtr client)
|
SProcXFixesCreateRegionFromBitmap(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesCreateRegionFromBitmapReq);
|
REQUEST(xXFixesCreateRegionFromBitmapReq);
|
||||||
|
@ -194,7 +194,7 @@ ProcXFixesCreateRegionFromWindow(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesCreateRegionFromWindow(ClientPtr client)
|
SProcXFixesCreateRegionFromWindow(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesCreateRegionFromWindowReq);
|
REQUEST(xXFixesCreateRegionFromWindowReq);
|
||||||
|
@ -237,7 +237,7 @@ ProcXFixesCreateRegionFromGC(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesCreateRegionFromGC(ClientPtr client)
|
SProcXFixesCreateRegionFromGC(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesCreateRegionFromGCReq);
|
REQUEST(xXFixesCreateRegionFromGCReq);
|
||||||
|
@ -279,7 +279,7 @@ ProcXFixesCreateRegionFromPicture(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesCreateRegionFromPicture(ClientPtr client)
|
SProcXFixesCreateRegionFromPicture(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesCreateRegionFromPictureReq);
|
REQUEST(xXFixesCreateRegionFromPictureReq);
|
||||||
|
@ -303,7 +303,7 @@ ProcXFixesDestroyRegion(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesDestroyRegion(ClientPtr client)
|
SProcXFixesDestroyRegion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesDestroyRegionReq);
|
REQUEST(xXFixesDestroyRegionReq);
|
||||||
|
@ -341,7 +341,7 @@ ProcXFixesSetRegion(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesSetRegion(ClientPtr client)
|
SProcXFixesSetRegion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesSetRegionReq);
|
REQUEST(xXFixesSetRegionReq);
|
||||||
|
@ -369,7 +369,7 @@ ProcXFixesCopyRegion(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesCopyRegion(ClientPtr client)
|
SProcXFixesCopyRegion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesCopyRegionReq);
|
REQUEST(xXFixesCopyRegionReq);
|
||||||
|
@ -411,7 +411,7 @@ ProcXFixesCombineRegion(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesCombineRegion(ClientPtr client)
|
SProcXFixesCombineRegion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesCombineRegionReq);
|
REQUEST(xXFixesCombineRegionReq);
|
||||||
|
@ -455,7 +455,7 @@ ProcXFixesInvertRegion(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesInvertRegion(ClientPtr client)
|
SProcXFixesInvertRegion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesInvertRegionReq);
|
REQUEST(xXFixesInvertRegionReq);
|
||||||
|
@ -485,7 +485,7 @@ ProcXFixesTranslateRegion(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesTranslateRegion(ClientPtr client)
|
SProcXFixesTranslateRegion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesTranslateRegionReq);
|
REQUEST(xXFixesTranslateRegionReq);
|
||||||
|
@ -514,7 +514,7 @@ ProcXFixesRegionExtents(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesRegionExtents(ClientPtr client)
|
SProcXFixesRegionExtents(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesRegionExtentsReq);
|
REQUEST(xXFixesRegionExtentsReq);
|
||||||
|
@ -579,7 +579,7 @@ ProcXFixesFetchRegion(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesFetchRegion(ClientPtr client)
|
SProcXFixesFetchRegion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesFetchRegionReq);
|
REQUEST(xXFixesFetchRegionReq);
|
||||||
|
@ -622,7 +622,7 @@ ProcXFixesSetGCClipRegion(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesSetGCClipRegion(ClientPtr client)
|
SProcXFixesSetGCClipRegion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesSetGCClipRegionReq);
|
REQUEST(xXFixesSetGCClipRegionReq);
|
||||||
|
@ -712,7 +712,7 @@ ProcXFixesSetWindowShapeRegion(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesSetWindowShapeRegion(ClientPtr client)
|
SProcXFixesSetWindowShapeRegion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesSetWindowShapeRegionReq);
|
REQUEST(xXFixesSetWindowShapeRegionReq);
|
||||||
|
@ -745,7 +745,7 @@ ProcXFixesSetPictureClipRegion(ClientPtr client)
|
||||||
pRegion);
|
pRegion);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesSetPictureClipRegion(ClientPtr client)
|
SProcXFixesSetPictureClipRegion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesSetPictureClipRegionReq);
|
REQUEST(xXFixesSetPictureClipRegionReq);
|
||||||
|
@ -798,7 +798,7 @@ ProcXFixesExpandRegion(ClientPtr client)
|
||||||
return Success;
|
return Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesExpandRegion(ClientPtr client)
|
SProcXFixesExpandRegion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesExpandRegionReq);
|
REQUEST(xXFixesExpandRegionReq);
|
||||||
|
|
|
@ -58,7 +58,7 @@ ProcXFixesChangeSaveSet(ClientPtr client)
|
||||||
return AlterSaveSetForClient(client, pWin, stuff->mode, toRoot, map);
|
return AlterSaveSetForClient(client, pWin, stuff->mode, toRoot, map);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesChangeSaveSet(ClientPtr client)
|
SProcXFixesChangeSaveSet(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesChangeSaveSetReq);
|
REQUEST(xXFixesChangeSaveSetReq);
|
||||||
|
|
|
@ -197,7 +197,7 @@ ProcXFixesSelectSelectionInput(ClientPtr client)
|
||||||
pWin, stuff->eventMask);
|
pWin, stuff->eventMask);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXFixesSelectSelectionInput(ClientPtr client)
|
SProcXFixesSelectSelectionInput(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesSelectSelectionInputReq);
|
REQUEST(xXFixesSelectSelectionInputReq);
|
||||||
|
@ -210,7 +210,7 @@ SProcXFixesSelectSelectionInput(ClientPtr client)
|
||||||
return (*ProcXFixesVector[stuff->xfixesReqType]) (client);
|
return (*ProcXFixesVector[stuff->xfixesReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void _X_COLD
|
||||||
SXFixesSelectionNotifyEvent(xXFixesSelectionNotifyEvent * from,
|
SXFixesSelectionNotifyEvent(xXFixesSelectionNotifyEvent * from,
|
||||||
xXFixesSelectionNotifyEvent * to)
|
xXFixesSelectionNotifyEvent * to)
|
||||||
{
|
{
|
||||||
|
|
|
@ -156,7 +156,7 @@ ProcXFixesDispatch(ClientPtr client)
|
||||||
return (*ProcXFixesVector[stuff->xfixesReqType]) (client);
|
return (*ProcXFixesVector[stuff->xfixesReqType]) (client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static _X_COLD int
|
||||||
SProcXFixesQueryVersion(ClientPtr client)
|
SProcXFixesQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesQueryVersionReq);
|
REQUEST(xXFixesQueryVersionReq);
|
||||||
|
@ -203,7 +203,7 @@ static int (*SProcXFixesVector[XFixesNumberRequests]) (ClientPtr) = {
|
||||||
/*************** Version 5 ****************/
|
/*************** Version 5 ****************/
|
||||||
SProcXFixesCreatePointerBarrier, SProcXFixesDestroyPointerBarrier,};
|
SProcXFixesCreatePointerBarrier, SProcXFixesDestroyPointerBarrier,};
|
||||||
|
|
||||||
static int
|
static _X_COLD int
|
||||||
SProcXFixesDispatch(ClientPtr client)
|
SProcXFixesDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xXFixesReq);
|
REQUEST(xXFixesReq);
|
||||||
|
|
|
@ -41,7 +41,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
/*
|
/*
|
||||||
* REQUEST SWAPPING
|
* REQUEST SWAPPING
|
||||||
*/
|
*/
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbUseExtension(ClientPtr client)
|
SProcXkbUseExtension(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbUseExtensionReq);
|
REQUEST(xkbUseExtensionReq);
|
||||||
|
@ -53,7 +53,7 @@ SProcXkbUseExtension(ClientPtr client)
|
||||||
return ProcXkbUseExtension(client);
|
return ProcXkbUseExtension(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbSelectEvents(ClientPtr client)
|
SProcXkbSelectEvents(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbSelectEventsReq);
|
REQUEST(xkbSelectEventsReq);
|
||||||
|
@ -131,7 +131,7 @@ SProcXkbSelectEvents(ClientPtr client)
|
||||||
return ProcXkbSelectEvents(client);
|
return ProcXkbSelectEvents(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbBell(ClientPtr client)
|
SProcXkbBell(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbBellReq);
|
REQUEST(xkbBellReq);
|
||||||
|
@ -148,7 +148,7 @@ SProcXkbBell(ClientPtr client)
|
||||||
return ProcXkbBell(client);
|
return ProcXkbBell(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbGetState(ClientPtr client)
|
SProcXkbGetState(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbGetStateReq);
|
REQUEST(xkbGetStateReq);
|
||||||
|
@ -159,7 +159,7 @@ SProcXkbGetState(ClientPtr client)
|
||||||
return ProcXkbGetState(client);
|
return ProcXkbGetState(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbLatchLockState(ClientPtr client)
|
SProcXkbLatchLockState(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbLatchLockStateReq);
|
REQUEST(xkbLatchLockStateReq);
|
||||||
|
@ -171,7 +171,7 @@ SProcXkbLatchLockState(ClientPtr client)
|
||||||
return ProcXkbLatchLockState(client);
|
return ProcXkbLatchLockState(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbGetControls(ClientPtr client)
|
SProcXkbGetControls(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbGetControlsReq);
|
REQUEST(xkbGetControlsReq);
|
||||||
|
@ -182,7 +182,7 @@ SProcXkbGetControls(ClientPtr client)
|
||||||
return ProcXkbGetControls(client);
|
return ProcXkbGetControls(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbSetControls(ClientPtr client)
|
SProcXkbSetControls(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbSetControlsReq);
|
REQUEST(xkbSetControlsReq);
|
||||||
|
@ -215,7 +215,7 @@ SProcXkbSetControls(ClientPtr client)
|
||||||
return ProcXkbSetControls(client);
|
return ProcXkbSetControls(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbGetMap(ClientPtr client)
|
SProcXkbGetMap(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbGetMapReq);
|
REQUEST(xkbGetMapReq);
|
||||||
|
@ -229,7 +229,7 @@ SProcXkbGetMap(ClientPtr client)
|
||||||
return ProcXkbGetMap(client);
|
return ProcXkbGetMap(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbSetMap(ClientPtr client)
|
SProcXkbSetMap(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbSetMapReq);
|
REQUEST(xkbSetMapReq);
|
||||||
|
@ -245,7 +245,7 @@ SProcXkbSetMap(ClientPtr client)
|
||||||
return ProcXkbSetMap(client);
|
return ProcXkbSetMap(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbGetCompatMap(ClientPtr client)
|
SProcXkbGetCompatMap(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbGetCompatMapReq);
|
REQUEST(xkbGetCompatMapReq);
|
||||||
|
@ -258,7 +258,7 @@ SProcXkbGetCompatMap(ClientPtr client)
|
||||||
return ProcXkbGetCompatMap(client);
|
return ProcXkbGetCompatMap(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbSetCompatMap(ClientPtr client)
|
SProcXkbSetCompatMap(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbSetCompatMapReq);
|
REQUEST(xkbSetCompatMapReq);
|
||||||
|
@ -271,7 +271,7 @@ SProcXkbSetCompatMap(ClientPtr client)
|
||||||
return ProcXkbSetCompatMap(client);
|
return ProcXkbSetCompatMap(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbGetIndicatorState(ClientPtr client)
|
SProcXkbGetIndicatorState(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbGetIndicatorStateReq);
|
REQUEST(xkbGetIndicatorStateReq);
|
||||||
|
@ -282,7 +282,7 @@ SProcXkbGetIndicatorState(ClientPtr client)
|
||||||
return ProcXkbGetIndicatorState(client);
|
return ProcXkbGetIndicatorState(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbGetIndicatorMap(ClientPtr client)
|
SProcXkbGetIndicatorMap(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbGetIndicatorMapReq);
|
REQUEST(xkbGetIndicatorMapReq);
|
||||||
|
@ -294,7 +294,7 @@ SProcXkbGetIndicatorMap(ClientPtr client)
|
||||||
return ProcXkbGetIndicatorMap(client);
|
return ProcXkbGetIndicatorMap(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbSetIndicatorMap(ClientPtr client)
|
SProcXkbSetIndicatorMap(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbSetIndicatorMapReq);
|
REQUEST(xkbSetIndicatorMapReq);
|
||||||
|
@ -306,7 +306,7 @@ SProcXkbSetIndicatorMap(ClientPtr client)
|
||||||
return ProcXkbSetIndicatorMap(client);
|
return ProcXkbSetIndicatorMap(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbGetNamedIndicator(ClientPtr client)
|
SProcXkbGetNamedIndicator(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbGetNamedIndicatorReq);
|
REQUEST(xkbGetNamedIndicatorReq);
|
||||||
|
@ -320,7 +320,7 @@ SProcXkbGetNamedIndicator(ClientPtr client)
|
||||||
return ProcXkbGetNamedIndicator(client);
|
return ProcXkbGetNamedIndicator(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbSetNamedIndicator(ClientPtr client)
|
SProcXkbSetNamedIndicator(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbSetNamedIndicatorReq);
|
REQUEST(xkbSetNamedIndicatorReq);
|
||||||
|
@ -336,7 +336,7 @@ SProcXkbSetNamedIndicator(ClientPtr client)
|
||||||
return ProcXkbSetNamedIndicator(client);
|
return ProcXkbSetNamedIndicator(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbGetNames(ClientPtr client)
|
SProcXkbGetNames(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbGetNamesReq);
|
REQUEST(xkbGetNamesReq);
|
||||||
|
@ -348,7 +348,7 @@ SProcXkbGetNames(ClientPtr client)
|
||||||
return ProcXkbGetNames(client);
|
return ProcXkbGetNames(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbSetNames(ClientPtr client)
|
SProcXkbSetNames(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbSetNamesReq);
|
REQUEST(xkbSetNamesReq);
|
||||||
|
@ -363,7 +363,7 @@ SProcXkbSetNames(ClientPtr client)
|
||||||
return ProcXkbSetNames(client);
|
return ProcXkbSetNames(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbGetGeometry(ClientPtr client)
|
SProcXkbGetGeometry(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbGetGeometryReq);
|
REQUEST(xkbGetGeometryReq);
|
||||||
|
@ -375,7 +375,7 @@ SProcXkbGetGeometry(ClientPtr client)
|
||||||
return ProcXkbGetGeometry(client);
|
return ProcXkbGetGeometry(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbSetGeometry(ClientPtr client)
|
SProcXkbSetGeometry(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbSetGeometryReq);
|
REQUEST(xkbSetGeometryReq);
|
||||||
|
@ -393,7 +393,7 @@ SProcXkbSetGeometry(ClientPtr client)
|
||||||
return ProcXkbSetGeometry(client);
|
return ProcXkbSetGeometry(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbPerClientFlags(ClientPtr client)
|
SProcXkbPerClientFlags(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbPerClientFlagsReq);
|
REQUEST(xkbPerClientFlagsReq);
|
||||||
|
@ -409,7 +409,7 @@ SProcXkbPerClientFlags(ClientPtr client)
|
||||||
return ProcXkbPerClientFlags(client);
|
return ProcXkbPerClientFlags(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbListComponents(ClientPtr client)
|
SProcXkbListComponents(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbListComponentsReq);
|
REQUEST(xkbListComponentsReq);
|
||||||
|
@ -421,7 +421,7 @@ SProcXkbListComponents(ClientPtr client)
|
||||||
return ProcXkbListComponents(client);
|
return ProcXkbListComponents(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbGetKbdByName(ClientPtr client)
|
SProcXkbGetKbdByName(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbGetKbdByNameReq);
|
REQUEST(xkbGetKbdByNameReq);
|
||||||
|
@ -434,7 +434,7 @@ SProcXkbGetKbdByName(ClientPtr client)
|
||||||
return ProcXkbGetKbdByName(client);
|
return ProcXkbGetKbdByName(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbGetDeviceInfo(ClientPtr client)
|
SProcXkbGetDeviceInfo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbGetDeviceInfoReq);
|
REQUEST(xkbGetDeviceInfoReq);
|
||||||
|
@ -448,7 +448,7 @@ SProcXkbGetDeviceInfo(ClientPtr client)
|
||||||
return ProcXkbGetDeviceInfo(client);
|
return ProcXkbGetDeviceInfo(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbSetDeviceInfo(ClientPtr client)
|
SProcXkbSetDeviceInfo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbSetDeviceInfoReq);
|
REQUEST(xkbSetDeviceInfoReq);
|
||||||
|
@ -461,7 +461,7 @@ SProcXkbSetDeviceInfo(ClientPtr client)
|
||||||
return ProcXkbSetDeviceInfo(client);
|
return ProcXkbSetDeviceInfo(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int _X_COLD
|
||||||
SProcXkbSetDebuggingFlags(ClientPtr client)
|
SProcXkbSetDebuggingFlags(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xkbSetDebuggingFlagsReq);
|
REQUEST(xkbSetDebuggingFlagsReq);
|
||||||
|
@ -476,7 +476,7 @@ SProcXkbSetDebuggingFlags(ClientPtr client)
|
||||||
return ProcXkbSetDebuggingFlags(client);
|
return ProcXkbSetDebuggingFlags(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int _X_COLD
|
||||||
SProcXkbDispatch(ClientPtr client)
|
SProcXkbDispatch(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xReq);
|
REQUEST(xReq);
|
||||||
|
|
Loading…
Reference in New Issue