mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
dbe: Xi: use return value of X_SEND_REPLY_SIMPLE()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
5720e3d375
commit
4486a554f8
18
dbe/dbe.c
18
dbe/dbe.c
@@ -112,19 +112,16 @@ DbeStubScreen(DbeScreenPrivPtr pDbeScreenPriv, int *nStubbedScreens)
|
||||
static int
|
||||
ProcDbeGetVersion(ClientPtr client)
|
||||
{
|
||||
/* REQUEST(xDbeGetVersionReq); */
|
||||
REQUEST_SIZE_MATCH(xDbeGetVersionReq);
|
||||
|
||||
xDbeGetVersionReply rep = {
|
||||
.majorVersion = DBE_MAJOR_VERSION,
|
||||
.minorVersion = DBE_MINOR_VERSION
|
||||
};
|
||||
|
||||
REQUEST_SIZE_MATCH(xDbeGetVersionReq);
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
}
|
||||
|
||||
X_SEND_REPLY_SIMPLE(client, rep);
|
||||
return Success;
|
||||
|
||||
} /* ProcDbeGetVersion() */
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
* DBE DIX Procedure: ProcDbeAllocateBackBufferName
|
||||
@@ -712,10 +709,9 @@ ProcDbeGetBackBufferAttributes(ClientPtr client)
|
||||
swapl(&rep.attributes);
|
||||
}
|
||||
|
||||
X_SEND_REPLY_SIMPLE(client, rep);
|
||||
return Success;
|
||||
} /* ProcDbeGetbackBufferAttributes() */
|
||||
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
* DBE DIX Procedure: ProcDbeDispatch
|
||||
|
||||
Reference in New Issue
Block a user