mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
dix: inline SProcRotateProperties()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
7a2a3c9016
commit
07b0c67c28
@@ -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;
|
||||
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -446,7 +446,7 @@ int (*SwappedProcVector[256]) (ClientPtr /* client */) = {
|
||||
ProcChangeAccessControl,
|
||||
ProcChangeCloseDownMode,
|
||||
ProcKillClient,
|
||||
SProcRotateProperties,
|
||||
ProcRotateProperties,
|
||||
ProcForceScreenSaver, /* 115 */
|
||||
ProcSetPointerMapping,
|
||||
ProcGetPointerMapping,
|
||||
|
||||
Reference in New Issue
Block a user