summaryrefslogtreecommitdiff
path: root/Xi/xiselectev.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-04-09 19:31:04 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-04-19 22:18:15 +1000
commitca4918ac2ff003142aefbd8ac7ec2bc398ccc6eb (patch)
tree29ab3af16a4bd0344e40927cb7d69592bece169a /Xi/xiselectev.c
parent463676f016a105a790cbb386d20eb5b188c04652 (diff)
Xi: remove fail from SProcXISelectEvent.
Leftover from rebasing once too often, I guess. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/xiselectev.c')
-rw-r--r--Xi/xiselectev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Xi/xiselectev.c b/Xi/xiselectev.c
index cdb9c6ff0..607b9b4d0 100644
--- a/Xi/xiselectev.c
+++ b/Xi/xiselectev.c
@@ -42,7 +42,6 @@ SProcXISelectEvent(ClientPtr client)
char n;
int i;
xXIDeviceEventMask* evmask;
- uint16_t *evtype;
REQUEST(xXISelectEventsReq);
swaps(&stuff->length, n);
@@ -55,7 +54,7 @@ SProcXISelectEvent(ClientPtr client)
{
swaps(&evmask->deviceid, n);
swaps(&evmask->mask_len, n);
- evmask = (xXIDeviceEventMask*)(((char*)evtype) + evmask->mask_len * 4);
+ evmask = (xXIDeviceEventMask*)(((char*)evmask) + evmask->mask_len * 4);
}
return (ProcXISelectEvent(client));