mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-07 19:21:41 +00:00
[PR #1519] dix: inline ProcQueryExtension()
PR: https://github.com/X11Libre/xserver/pull/1519
This commit is contained in:
@@ -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 rep = { 0 };
|
||||
|
||||
@@ -728,15 +728,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)
|
||||
{
|
||||
|
||||
@@ -64,7 +64,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 SProcRotateProperties(ClientPtr client);
|
||||
int SProcSetClipRectangles(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