summaryrefslogtreecommitdiff
path: root/tools/shared.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-08-18 13:00:15 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-08-20 07:56:59 +1000
commit6953b51b7ebe079b94322447f795e308b6ac8447 (patch)
tree7af8bb5fd5f7d8ad7a5be8c2c3175c571a51648b /tools/shared.c
parent5311d76ec19ce2cebf73cd4e49a58a4c08e216b5 (diff)
evdev: drop relative x/y motion from a device not marked as pointer
A device with REL_X/Y and keys gets marked only as ID_INPUT_KEY, initializes as keyboard and then segfaults when we send x/y coordinates - pointer acceleration never initializes. Ignore the events and log a bug instead. This intentionally only papers over the underlying issue, let's wait for a real device to trigger this and then look at the correct solution. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/shared.c')
0 files changed, 0 insertions, 0 deletions