mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +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)
|
ProcQueryExtension(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xQueryExtensionReq);
|
REQUEST(xQueryExtensionReq);
|
||||||
|
REQUEST_AT_LEAST_SIZE(xQueryExtensionReq);
|
||||||
|
|
||||||
|
if (client->swapped)
|
||||||
|
swaps(&stuff->nbytes);
|
||||||
|
|
||||||
REQUEST_FIXED_SIZE(xQueryExtensionReq, stuff->nbytes);
|
REQUEST_FIXED_SIZE(xQueryExtensionReq, stuff->nbytes);
|
||||||
|
|
||||||
xQueryExtensionReply reply = { 0 };
|
xQueryExtensionReply reply = { 0 };
|
||||||
|
|||||||
@@ -668,15 +668,6 @@ SProcQueryBestSize(ClientPtr client)
|
|||||||
return ((*ProcVector[X_QueryBestSize]) (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
|
int _X_COLD
|
||||||
SProcChangeKeyboardMapping(ClientPtr client)
|
SProcChangeKeyboardMapping(ClientPtr client)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -62,7 +62,6 @@ int SProcOpenFont(ClientPtr client);
|
|||||||
int SProcPutImage(ClientPtr client);
|
int SProcPutImage(ClientPtr client);
|
||||||
int SProcQueryBestSize(ClientPtr client);
|
int SProcQueryBestSize(ClientPtr client);
|
||||||
int SProcQueryColors(ClientPtr client);
|
int SProcQueryColors(ClientPtr client);
|
||||||
int SProcQueryExtension(ClientPtr client);
|
|
||||||
int SProcReparentWindow(ClientPtr client);
|
int SProcReparentWindow(ClientPtr client);
|
||||||
int SProcSetClipRectangles(ClientPtr client);
|
int SProcSetClipRectangles(ClientPtr client);
|
||||||
int SProcSetDashes(ClientPtr client);
|
int SProcSetDashes(ClientPtr client);
|
||||||
|
|||||||
@@ -430,7 +430,7 @@ int (*SwappedProcVector[256]) (ClientPtr /* client */) = {
|
|||||||
ProcFreeCursor, /* 95 */
|
ProcFreeCursor, /* 95 */
|
||||||
SProcRecolorCursor,
|
SProcRecolorCursor,
|
||||||
SProcQueryBestSize,
|
SProcQueryBestSize,
|
||||||
SProcQueryExtension,
|
ProcQueryExtension,
|
||||||
ProcListExtensions,
|
ProcListExtensions,
|
||||||
SProcChangeKeyboardMapping, /* 100 */
|
SProcChangeKeyboardMapping, /* 100 */
|
||||||
ProcGetKeyboardMapping,
|
ProcGetKeyboardMapping,
|
||||||
|
|||||||
Reference in New Issue
Block a user