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.
This commit is contained in:
parent
b092c5f37d
commit
4aecf4c973
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user