From a2a09f6a4fb2dcd36f89fccc8efd8386eca7d804 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 27 May 2009 14:13:54 +1000 Subject: Fix wrong pointer argument in _XIPassiveUngrabDevice. Signed-off-by: Peter Hutterer --- src/XIPassiveGrab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3