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:
201b81e
)
tools/record: print a header as first line
author
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 22 Feb 2021 04:52:16 +0000
(14:52 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 22 Feb 2021 04:53:41 +0000
(14:53 +1000)
To make the file format easier to detect
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/libinput-record.c
patch
|
blob
|
history
diff --git
a/tools/libinput-record.c
b/tools/libinput-record.c
index 26aa810869142800713a711bdf75bfc9391a36a7..067d813616aad87495c017564cc16f69d2e69672 100644
(file)
--- a/
tools/libinput-record.c
+++ b/
tools/libinput-record.c
@@
-1484,6
+1484,7
@@
print_system_header(struct record_context *ctx)
static void
print_header(struct record_context *ctx)
{
+ iprintf(ctx, "# libinput record\n");
iprintf(ctx, "version: %d\n", FILE_VERSION_NUMBER);
iprintf(ctx, "ndevices: %d\n", ctx->ndevices);
print_libinput_header(ctx);