int SProcXIAllowEvents(ClientPtr client) { char n; REQUEST(xXIAllowEventsReq); swaps(&stuff->length, n); swaps(&stuff->deviceid, n); swapl(&stuff->time, n); return ProcXIAllowEvents(client); }
int SProcXIAllowEvents(ClientPtr client) { REQUEST(xXIAllowEventsReq); swaps(&stuff->length); swaps(&stuff->deviceid); swapl(&stuff->time); if (stuff->length > 3) { xXI2_2AllowEventsReq *req_xi22 = (xXI2_2AllowEventsReq *) stuff; swapl(&req_xi22->touchid); swapl(&req_xi22->grab_window); } return ProcXIAllowEvents(client); }