From 9c297aefae3538320aacc80142ad8c52370c291a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 5 Jan 2015 08:40:35 +1000 Subject: [PATCH] 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 --- tools/event-debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/event-debug.c b/tools/event-debug.c index da581c8..5750bca 100644 --- a/tools/event-debug.c +++ b/tools/event-debug.c @@ -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)); -- 2.7.4