Commit 2118e447 authored by Marco Trevisan's avatar Marco Trevisan Committed by Peter Hutterer

dix/events: reuse grab pointer value

parent 35e5a76c
Pipeline #8223 passed with stage
in 1 minute and 2 seconds
......@@ -1573,7 +1573,7 @@ DeactivatePointerGrab(DeviceIntPtr mouse)
emulate a ButtonRelease here. So pretend the listener
already has the end event */
if (grab->grabtype == CORE || grab->grabtype == XI ||
!xi2mask_isset(mouse->deviceGrab.grab->xi2mask, mouse, XI_TouchBegin)) {
!xi2mask_isset(grab->xi2mask, mouse, XI_TouchBegin)) {
mode = XIAcceptTouch;
/* NOTE: we set the state here, but
* ProcessTouchOwnershipEvent() will still call
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment