evdev: remove tag_device from evdev_dispatch_interface
authorBenjamin Tissoires <benjamin.tissoires@gmail.com>
Tue, 2 Jun 2015 21:22:41 +0000 (17:22 -0400)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 2 Jun 2015 23:30:28 +0000 (09:30 +1000)
commita83fe757c35b279217b07b79441e7b77434602e6
treee6f892d5a9899fec417a35e520f65e252b2d8953
parent5b940e6a3f066ff25034bcf5a83278b695ad6836
evdev: remove tag_device from evdev_dispatch_interface

Tagging a device should occur only once during configure. We do not
have devices that can be changed after they are configured, so there is no
point in having the tagging part in a deferred struct.
Plus, the note saying that we tag with only one of EVDEV_TAG was wrong.

Now that we are chosing when we call each evdev_tag_*, we can also get
rid of the device->seat_caps tests.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad.c
src/evdev.c
src/evdev.h