mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
dix: inline SProcGetProperty()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
ca35b825a3
commit
a47b2ce91c
@@ -517,14 +517,22 @@ DeleteAllWindowProperties(WindowPtr pWin)
|
||||
int
|
||||
ProcGetProperty(ClientPtr client)
|
||||
{
|
||||
REQUEST(xGetPropertyReq);
|
||||
REQUEST_SIZE_MATCH(xGetPropertyReq);
|
||||
|
||||
if (client->swapped) {
|
||||
swapl(&stuff->window);
|
||||
swapl(&stuff->property);
|
||||
swapl(&stuff->type);
|
||||
swapl(&stuff->longOffset);
|
||||
swapl(&stuff->longLength);
|
||||
}
|
||||
|
||||
PropertyPtr pProp, prevProp;
|
||||
unsigned long n, len, ind;
|
||||
int rc;
|
||||
Mask win_mode = DixGetPropAccess, prop_mode = DixReadAccess;
|
||||
|
||||
REQUEST(xGetPropertyReq);
|
||||
REQUEST_SIZE_MATCH(xGetPropertyReq);
|
||||
|
||||
if (!ValidAtom(stuff->property)) {
|
||||
client->errorValue = stuff->property;
|
||||
return BadAtom;
|
||||
|
||||
@@ -146,19 +146,6 @@ SProcConfigureWindow(ClientPtr client)
|
||||
|
||||
}
|
||||
|
||||
int _X_COLD
|
||||
SProcGetProperty(ClientPtr client)
|
||||
{
|
||||
REQUEST(xGetPropertyReq);
|
||||
REQUEST_SIZE_MATCH(xGetPropertyReq);
|
||||
swapl(&stuff->window);
|
||||
swapl(&stuff->property);
|
||||
swapl(&stuff->type);
|
||||
swapl(&stuff->longOffset);
|
||||
swapl(&stuff->longLength);
|
||||
return ((*ProcVector[X_GetProperty]) (client));
|
||||
}
|
||||
|
||||
int _X_COLD
|
||||
SProcConvertSelection(ClientPtr client)
|
||||
{
|
||||
|
||||
@@ -56,7 +56,6 @@ int SProcFillPoly(ClientPtr client);
|
||||
int SProcFreeColors(ClientPtr client);
|
||||
int SProcGetImage(ClientPtr client);
|
||||
int SProcGetMotionEvents(ClientPtr client);
|
||||
int SProcGetProperty(ClientPtr client);
|
||||
int SProcImageText(ClientPtr client);
|
||||
int SProcListFonts(ClientPtr client);
|
||||
int SProcListFontsWithInfo(ClientPtr client);
|
||||
|
||||
@@ -352,7 +352,7 @@ int (*SwappedProcVector[256]) (ClientPtr /* client */) = {
|
||||
ProcGetAtomName,
|
||||
ProcChangeProperty,
|
||||
ProcDeleteProperty,
|
||||
SProcGetProperty, /* 20 */
|
||||
ProcGetProperty, /* 20 */
|
||||
ProcListProperties,
|
||||
ProcSetSelectionOwner,
|
||||
ProcGetSelectionOwner,
|
||||
|
||||
Reference in New Issue
Block a user