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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2526>
This commit is contained in:
Carlos Garnacho 2022-10-31 13:16:17 +01:00 committed by Marge Bot
parent a2a5d7682f
commit a30661d33e

View File

@ -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) {