From a30661d33efdf079d1a51e9910137d1c4d8ee68b Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Mon, 31 Oct 2022 13:16:17 +0100 Subject: [PATCH] windowManager: 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/windowManager.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index c99215a7a..2838664e4 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -472,10 +472,6 @@ var AppSwitchAction = GObject.registerClass({ _init() { super._init(); this.set_n_touch_points(3); - - global.display.connect('grab-op-begin', () => { - this.cancel(); - }); } vfunc_gesture_prepare(_actor) {