dix: fix wrong cast of eventMask into CreateGrab.

This commit is contained in:
Peter Hutterer 2009-05-26 15:28:33 +10:00
parent 023f959e68
commit bedfd561fa

View File

@ -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);