summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-26 15:28:33 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-27 13:54:19 +1000
commitbedfd561fa534b65baea45c4a05b1752ef172c45 (patch)
treeb5c7d237b146552cb8cfde315fe56d0edc235472
parent023f959e6812e63f9d38b078158275bc13d238ae (diff)
dix: fix wrong cast of eventMask into CreateGrab.
-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);