1
0
Fork 0

backends/native: Get the correct value for pinch dy

Fix a typo - use the correct libinput api.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/974
This commit is contained in:
Yariv Barkan 2019-12-13 21:27:43 +02:00
parent 82233cce65
commit 67d9995280

View file

@ -1537,7 +1537,7 @@ process_device_event (MetaDeviceManagerNative *manager_evdev,
angle_delta = libinput_event_gesture_get_angle_delta (gesture_event);
scale = libinput_event_gesture_get_scale (gesture_event);
dx = libinput_event_gesture_get_dx (gesture_event);
dy = libinput_event_gesture_get_dx (gesture_event);
dy = libinput_event_gesture_get_dy (gesture_event);
notify_pinch_gesture_event (device,
CLUTTER_TOUCHPAD_GESTURE_PHASE_UPDATE,