diff options
Diffstat (limited to 'dix/grabs.c')
-rw-r--r-- | dix/grabs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dix/grabs.c b/dix/grabs.c index da014dfc3..701470c83 100644 --- a/dix/grabs.c +++ b/dix/grabs.c @@ -266,6 +266,9 @@ CreateGrab( void FreeGrab(GrabPtr pGrab) { + if (pGrab->grabtype == XI2 && pGrab->type == XI_TouchBegin) + TouchListenerGone(pGrab->resource); + free(pGrab->modifiersDetail.pMask); free(pGrab->detail.pMask); |