tools: size in mm is enough, no need for sub-mm precision here

Also changes from W/H to WxH format

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2017-01-03 10:01:06 +10:00
parent 16bf0deb23
commit c92213e24c

View file

@ -196,7 +196,7 @@ print_device_notify(struct libinput_event *ev)
printf("P");
if (libinput_device_get_size(dev, &w, &h) == 0)
printf("\tsize %.2f/%.2fmm", w, h);
printf("\tsize %.0fx%.0fmm", w, h);
if (libinput_device_config_tap_get_finger_count(dev)) {
printf(" tap");