summaryrefslogtreecommitdiff
path: root/Xi/ungrdevk.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/ungrdevk.c')
-rw-r--r--Xi/ungrdevk.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/Xi/ungrdevk.c b/Xi/ungrdevk.c
index 3b4d6260e..526347db4 100644
--- a/Xi/ungrdevk.c
+++ b/Xi/ungrdevk.c
@@ -78,13 +78,11 @@ SOFTWARE.
int
SProcXUngrabDeviceKey(ClientPtr client)
{
- char n;
-
REQUEST(xUngrabDeviceKeyReq);
- swaps(&stuff->length, n);
+ swaps(&stuff->length);
REQUEST_SIZE_MATCH(xUngrabDeviceKeyReq);
- swapl(&stuff->grabWindow, n);
- swaps(&stuff->modifiers, n);
+ swapl(&stuff->grabWindow);
+ swaps(&stuff->modifiers);
return (ProcXUngrabDeviceKey(client));
}