
It's important to cancel click actions when we get a touch cancel event, otherwise the long press event might get emitted after the compositor took over the touches because it detected a gesture. https://gitlab.gnome.org/GNOME/mutter/merge_requests/396