dix: inline SProcRotateProperties()

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-02 19:07:34 +01:00
committed by Enrico Weigelt
parent 7a2a3c9016
commit 07b0c67c28
4 changed files with 11 additions and 16 deletions

View File

@@ -173,9 +173,17 @@ deliverPropertyNotifyEvent(WindowPtr pWin, int state, PropertyPtr pProp)
int
ProcRotateProperties(ClientPtr client)
{
int delta, rc;
REQUEST(xRotatePropertiesReq);
REQUEST_AT_LEAST_SIZE(xRotatePropertiesReq);
if (client->swapped) {
swapl(&stuff->window);
swaps(&stuff->nAtoms);
swaps(&stuff->nPositions);
SwapRestL(stuff);
}
int delta, rc;
PropertyPtr *props; /* array of pointer */
PropertyPtr pProp, saved;

View File

@@ -745,18 +745,6 @@ SProcChangeHosts(ClientPtr client)
return ((*ProcVector[X_ChangeHosts]) (client));
}
int _X_COLD
SProcRotateProperties(ClientPtr client)
{
REQUEST(xRotatePropertiesReq);
REQUEST_AT_LEAST_SIZE(xRotatePropertiesReq);
swapl(&stuff->window);
swaps(&stuff->nAtoms);
swaps(&stuff->nPositions);
SwapRestL(stuff);
return ((*ProcVector[X_RotateProperties]) (client));
}
void _X_COLD
SwapConnClientPrefix(xConnClientPrefix * pCCP)
{

View File

@@ -65,7 +65,6 @@ int SProcQueryBestSize(ClientPtr client);
int SProcQueryColors(ClientPtr client);
int SProcQueryExtension(ClientPtr client);
int SProcReparentWindow(ClientPtr client);
int SProcRotateProperties(ClientPtr client);
int SProcSetClipRectangles(ClientPtr client);
int SProcSetDashes(ClientPtr client);
int SProcSetFontPath(ClientPtr client);

View File

@@ -446,7 +446,7 @@ int (*SwappedProcVector[256]) (ClientPtr /* client */) = {
ProcChangeAccessControl,
ProcChangeCloseDownMode,
ProcKillClient,
SProcRotateProperties,
ProcRotateProperties,
ProcForceScreenSaver, /* 115 */
ProcSetPointerMapping,
ProcGetPointerMapping,