From 7e5274619aa2a3edf0a48ba9ae6e1a92edfbc5f4 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 3 May 2016 13:22:53 +0200 Subject: [PATCH] windowManager: Update API call This function has now a more generic name, so it caters for both swipe and pinch touchpad gestures. https://bugzilla.gnome.org/show_bug.cgi?id=765937 --- js/ui/windowManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index 3fb59ec90..fc34aab60 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -511,7 +511,7 @@ const TouchpadWorkspaceSwitchAction = new Lang.Class({ if (event.type() != Clutter.EventType.TOUCHPAD_SWIPE) return Clutter.EVENT_PROPAGATE; - if (event.get_gesture_swipe_finger_count() != 4) + if (event.get_touchpad_gesture_finger_count() != 4) return Clutter.EVENT_PROPAGATE; if (event.get_gesture_phase() == Clutter.TouchpadGesturePhase.UPDATE) {