summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/XIPassiveGrab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XIPassiveGrab.c b/src/XIPassiveGrab.c
index 9404e72..160115f 100644
--- a/src/XIPassiveGrab.c
+++ b/src/XIPassiveGrab.c
@@ -69,7 +69,7 @@ _XIPassiveGrabDevice(Display* dpy, int deviceid, int grabtype, int detail,
memcpy(buff, mask->mask, mask->mask_len);
Data32(dpy, buff, req->mask_len * 4);
for (i = 0; i < num_modifiers; i++)
- Data32(dpy, modifiers_inout[i].modifiers, 4);
+ Data32(dpy, &modifiers_inout[i].modifiers, 4);
free(buff);