projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20ac4b3
)
tools: change name/seat/logical seat format string
author
Peter Hutterer
<peter.hutterer@who-t.net>
Sun, 4 Jan 2015 22:40:35 +0000
(08:40 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Sun, 4 Jan 2015 22:57:14 +0000
(08:57 +1000)
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>
tools/event-debug.c
patch
|
blob
|
history
diff --git
a/tools/event-debug.c
b/tools/event-debug.c
index
da581c8
..
5750bca
100644
(file)
--- 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("%-3
0s %s %
s",
+ printf("%-3
3s %5s %7
s",
libinput_device_get_name(dev),
libinput_seat_get_physical_name(seat),
libinput_seat_get_logical_name(seat));