diff --git a/Xi/xipassivegrab.c b/Xi/xipassivegrab.c index a75559e8e..65b7b805a 100644 --- a/Xi/xipassivegrab.c +++ b/Xi/xipassivegrab.c @@ -333,7 +333,9 @@ ProcXIPassiveUngrabDevice(ClientPtr client) if ((stuff->grab_type == XIGrabtypeEnter || stuff->grab_type == XIGrabtypeFocusIn || - stuff->grab_type == XIGrabtypeTouchBegin) && stuff->detail != 0) { + stuff->grab_type == XIGrabtypeTouchBegin || + stuff->grab_type == XIGrabtypeGesturePinchBegin || + stuff->grab_type == XIGrabtypeGestureSwipeBegin) && stuff->detail != 0) { client->errorValue = stuff->detail; return BadValue; }