Skip to content
Snippets Groups Projects
Commit f8bcbc2d authored by Peter Hutterer's avatar Peter Hutterer
Browse files

gestures: average motion by active touches, not moved touches


When two fingers move slowly, an event frame may only have one finger motion,
followed by a frame with the other finger's motion. If we only divide by the
number of dirty touches, the speed of the gesture increases whenever that
happens.

Reported-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 6ad303b3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment