From 1fa5c63307e03d806eacdcf14d31e63afc27af20 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 25 May 2022 20:54:39 +0200 Subject: [PATCH] edgeDragAction: Change edge trigger threshold to AFTER For all instances of this gesture, we want this gesture to activate after some distance, not to eat button presses/releases right away. Part-of: --- js/ui/edgeDragAction.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/edgeDragAction.js b/js/ui/edgeDragAction.js index 986b658e0..c0f9e4edd 100644 --- a/js/ui/edgeDragAction.js +++ b/js/ui/edgeDragAction.js @@ -19,6 +19,7 @@ var EdgeDragAction = GObject.registerClass({ this._side = side; this._allowedModes = allowedModes; this.set_n_touch_points(1); + this.set_threshold_trigger_edge(Clutter.GestureTriggerEdge.AFTER); global.display.connect('grab-op-begin', () => this.cancel()); }