mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
XI: directly write out X_XIGetProperty reply
Write out the X_XIGetProperty reply directly (and do the swapping within the request handler) instead of going through separate callback that's having demux the replies again. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -421,9 +421,7 @@ SReplyIDispatch(ClientPtr client, int len, xGrabDeviceReply * rep)
|
||||
{
|
||||
/* All we look at is the type field */
|
||||
/* This is common to all replies */
|
||||
if (rep->RepType == X_XIGetProperty)
|
||||
SRepXIGetProperty(client, len, (xXIGetPropertyReply *) rep);
|
||||
else if (rep->RepType == X_XIGetSelectedEvents)
|
||||
if (rep->RepType == X_XIGetSelectedEvents)
|
||||
SRepXIGetSelectedEvents(client, len, (xXIGetSelectedEventsReply *) rep);
|
||||
else if (rep->RepType == X_XIGetFocus)
|
||||
SRepXIGetFocus(client, len, (xXIGetFocusReply *) rep);
|
||||
|
||||
Reference in New Issue
Block a user