Regarding Nicolas' patch to do edge detection prior to calling SelectTapButton, to get that in I would suggest posting it to the xorg-devel mailing list on freedesktop.org for review first.
Regarding Nicolas' patch to do edge detection prior to calling SelectTapButton, to get that in I would suggest posting it to the xorg-devel mailing list on freedesktop.org for review first.