diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-19 13:54:33 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-19 13:55:02 +1000 |
commit | 13ce4a03824a7c5ac0270198d265b02b18786e1f (patch) | |
tree | c08d91b0297e8a0153b6703edd1d0806a320a206 /src | |
parent | 7f1f0b9cf8ad17b5a4694406137a1c2114918a67 (diff) |
XIPassiveGrab: take the address of modifiers for memcpy, not the value.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/XIPassiveGrab.c | 2 |
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); |