gtkgesture: Fix get-center for touchpad gestures
authorYariv Barkan <nushoin@users.noreply.github.com>
Tue, 17 Dec 2019 11:28:17 +0000 (13:28 +0200)
committerYariv Barkan <21448-yarivb@users.noreply.gitlab.gnome.org>
Fri, 17 Jan 2020 20:34:48 +0000 (22:34 +0200)
commit00a488a5b5d3bb8a9c5c755bba4152b190861a08
treeb96034d486416a2e4a39b2c8f15359165c7ecb19
parent26c4c2806838622e27337c25c8d9ae615de89c48
gtkgesture: Fix get-center for touchpad gestures

Touchpad gestures have only a single event sequence. The current
'center' of the gesture is the starting point + accumulated deltas.
Update gtk_gesture_get_bounding_box_center() accordingly.
gtk/gtkgesture.c