[PATCH libinput 5/8] event-debug: Increase spacing after the event-type

Stephen Chandler Paul thatslyude at gmail.com
Mon Feb 16 19:48:43 PST 2015


TABLET_PROXIMITY events cause many terminals to push every column to the right
by one additional tab, this just increases the space after the event type so
that everything lines up again.

Signed-off-by: Stephen Chandler Paul <thatslyude at gmail.com>
---
 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 66b378c..844f8de 100644
--- a/tools/event-debug.c
+++ b/tools/event-debug.c
@@ -117,7 +117,7 @@ print_event_header(struct libinput_event *ev)
 		break;
 	}
 
-	printf("%-7s	%s	", libinput_device_get_sysname(dev), type);
+	printf("%-7s	%-16s ", libinput_device_get_sysname(dev), type);
 }
 
 static void
-- 
1.9.5



More information about the wayland-devel mailing list