From 4aecf4c97337927712853fe6c22650c46a6aff1a Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 21 Jan 2019 20:40:31 +0100 Subject: [PATCH] keyboard: Avoid sequence grabs on touch We can do without these. Since grabs prevent gestures in parent containers from happening, we actively don't want these for emoji scrolling/paging. --- js/ui/keyboard.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index c4b173e8c..6ecef255c 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -394,13 +394,10 @@ var Key = class Key { if (!this._touchPressed && event.type() == Clutter.EventType.TOUCH_BEGIN) { - device.sequence_grab(sequence, actor); this._touchPressed = true; this._press(key); } else if (this._touchPressed && - event.type() == Clutter.EventType.TOUCH_END && - device.sequence_get_grabbed_actor(sequence) == actor) { - device.sequence_ungrab(sequence); + event.type() == Clutter.EventType.TOUCH_END) { this._touchPressed = false; this._release(key); }