tools: change name/seat/logical seat format string

Change the seat field widths to match the usual seat0/default. This compresses
the output a bit, we're printing too much already.

Also, one of my mice has >30 chars, it's annoying to look at. Fix this.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-01-05 08:40:35 +10:00
parent 20ac4b3abd
commit 9c297aefae

View file

@ -125,7 +125,7 @@ print_device_notify(struct libinput_event *ev)
double w, h;
uint32_t scroll_methods;
printf("%-30s %s %s",
printf("%-33s %5s %7s",
libinput_device_get_name(dev),
libinput_seat_get_physical_name(seat),
libinput_seat_get_logical_name(seat));