summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-27 14:13:54 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-27 14:14:19 +1000
commita2a09f6a4fb2dcd36f89fccc8efd8386eca7d804 (patch)
treed180fa95ef13ff44e0b8b7e56cf482026f779351
parent9b9f9373f32ebe9a15f286d16b6ba880b44a9c22 (diff)
Fix wrong pointer argument in _XIPassiveUngrabDevice.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/XIPassiveGrab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XIPassiveGrab.c b/src/XIPassiveGrab.c
index 160115f..1e30606 100644
--- a/src/XIPassiveGrab.c
+++ b/src/XIPassiveGrab.c
@@ -146,7 +146,7 @@ _XIPassiveUngrabDevice(Display* dpy, int deviceid, int grabtype, int detail,
SetReqLen(req, num_modifiers, num_modifiers);
for (i = 0; i < num_modifiers; i++)
- Data32(dpy, modifiers[i].modifiers, 4);
+ Data32(dpy, &modifiers[i].modifiers, 4);
UnlockDisplay(dpy);
SyncHandle();