Re: [PATCH libinput] evdev: store the device dimensions

2015-06-25 Thread Hans de Goede
Hi, On 25-06-15 09:07, Peter Hutterer wrote: We use width/height often enough that storing it once is better than calculating it on each event. Signed-off-by: Peter Hutterer Looks good to me: Reviewed-by: Hans de Goede Regards, Hans --- src/evdev-mt-touchpad-buttons.c | 18 ++

[PATCH libinput] evdev: store the device dimensions

2015-06-25 Thread Peter Hutterer
We use width/height often enough that storing it once is better than calculating it on each event. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-buttons.c | 18 -- src/evdev-mt-touchpad-edge-scroll.c | 4 ++-- src/evdev-mt-touchpad.c | 12