From fe8201e1d26bac51ec5689f45b7c692cb37f20fb Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 31 Oct 2022 13:14:10 +0100 Subject: [PATCH] edgeDragAction: Drop grab-op-begin signal connection This is done just to "reset" the gesture when a grab operation begins. With grab ops being based on ClutterGrab now, the gesture will be implicitly reset when these happen. This is unnecessary now. Part-of: --- js/ui/edgeDragAction.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/ui/edgeDragAction.js b/js/ui/edgeDragAction.js index c0f9e4edd..25d1d3fb2 100644 --- a/js/ui/edgeDragAction.js +++ b/js/ui/edgeDragAction.js @@ -20,8 +20,6 @@ var EdgeDragAction = GObject.registerClass({ 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()); } _getMonitorRect(x, y) {