summaryrefslogtreecommitdiff
path: root/dix/grabs.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/grabs.c')
-rw-r--r--dix/grabs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/grabs.c b/dix/grabs.c
index eb8bec85f..0df8ad175 100644
--- a/dix/grabs.c
+++ b/dix/grabs.c
@@ -457,7 +457,7 @@ DeletePassiveGrabFromList(GrabPtr pMinuendGrab)
pNewGrab = CreateGrab(CLIENT_ID(grab->resource), grab->device,
grab->modifierDevice, grab->window,
grab->grabtype,
- (GrabMask*)grab->eventMask,
+ (GrabMask*)&grab->eventMask,
&param, (int)grab->type,
pMinuendGrab->detail.exact,
grab->confineTo, grab->cursor);