mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-23 23:30:02 +00:00
dix: inline ProcQueryExtension()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
b19f3babe7
commit
d45aeab1b6
@@ -292,6 +292,11 @@ int
|
||||
ProcQueryExtension(ClientPtr client)
|
||||
{
|
||||
REQUEST(xQueryExtensionReq);
|
||||
REQUEST_AT_LEAST_SIZE(xQueryExtensionReq);
|
||||
|
||||
if (client->swapped)
|
||||
swaps(&stuff->nbytes);
|
||||
|
||||
REQUEST_FIXED_SIZE(xQueryExtensionReq, stuff->nbytes);
|
||||
|
||||
xQueryExtensionReply reply = { 0 };
|
||||
|
||||
@@ -668,15 +668,6 @@ SProcQueryBestSize(ClientPtr client)
|
||||
return ((*ProcVector[X_QueryBestSize]) (client));
|
||||
}
|
||||
|
||||
int _X_COLD
|
||||
SProcQueryExtension(ClientPtr client)
|
||||
{
|
||||
REQUEST(xQueryExtensionReq);
|
||||
REQUEST_AT_LEAST_SIZE(xQueryExtensionReq);
|
||||
swaps(&stuff->nbytes);
|
||||
return ((*ProcVector[X_QueryExtension]) (client));
|
||||
}
|
||||
|
||||
int _X_COLD
|
||||
SProcChangeKeyboardMapping(ClientPtr client)
|
||||
{
|
||||
|
||||
@@ -62,7 +62,6 @@ int SProcOpenFont(ClientPtr client);
|
||||
int SProcPutImage(ClientPtr client);
|
||||
int SProcQueryBestSize(ClientPtr client);
|
||||
int SProcQueryColors(ClientPtr client);
|
||||
int SProcQueryExtension(ClientPtr client);
|
||||
int SProcReparentWindow(ClientPtr client);
|
||||
int SProcSetClipRectangles(ClientPtr client);
|
||||
int SProcSetDashes(ClientPtr client);
|
||||
|
||||
@@ -430,7 +430,7 @@ int (*SwappedProcVector[256]) (ClientPtr /* client */) = {
|
||||
ProcFreeCursor, /* 95 */
|
||||
SProcRecolorCursor,
|
||||
SProcQueryBestSize,
|
||||
SProcQueryExtension,
|
||||
ProcQueryExtension,
|
||||
ProcListExtensions,
|
||||
SProcChangeKeyboardMapping, /* 100 */
|
||||
ProcGetKeyboardMapping,
|
||||
|
||||
Reference in New Issue
Block a user