evdev: Fix absolute coordinate transform formula
authorJonas Ådahl <jadahl@gmail.com>
Mon, 3 Feb 2014 22:35:24 +0000 (23:35 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 3 Feb 2014 22:39:58 +0000 (23:39 +0100)
commit512e96466129cfc859c1f5f671810998318dfa54
tree854d551eb82d1e57261ff81efee4a34220c281a0
parentbb52822ece29dd201a5a85e1004ba1f5de3a4e67
evdev: Fix absolute coordinate transform formula

Since the device min/max x/y coordinates are inclusive, to get the
width/height one need to add one to (min x/y - max x/y).

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
src/evdev.c