touchpad: hook up disable-while-typing configuration
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 8 Jul 2015 22:14:35 +0000 (08:14 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 23 Jul 2015 22:49:25 +0000 (08:49 +1000)
commit5571f2d2cc8c021e59c0be36820c46683127712c
tree37fcab4914166dda73dd61af3a5441395c7d3bc2
parent55974dcac53021c7f690e25ac8bcfe1a9960aa8c
touchpad: hook up disable-while-typing configuration

This is not a frequent toggle, so we don't need to jump through too many hoops
here. We simply enable/disable on command and once any current timeouts have
expired the new setting takes effect.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
src/evdev-mt-touchpad.c
src/evdev-mt-touchpad.h
test/touchpad.c