summaryrefslogtreecommitdiff
authorDirk Wallenstein <halsmit@t-online.de>2010-10-29 09:35:10 (GMT)
committer Peter Hutterer <peter.hutterer@who-t.net>2010-11-01 03:57:25 (GMT)
commit281c7744f682c1ba4f44c0ee22f9bf7188c14fe6 (patch) (side-by-side diff)
tree50d2b89fa4a1edb21bd5d7ed29a96ed284ae15d6
parent851a5f6e0c1b2a98d4714d95e40198ab5dc61607 (diff)
downloadxkbcomp-281c7744.zip
xkbcomp-281c7744.tar.gz
Allow uploading a keymap to a single device
Signed-off-by: Dirk Wallenstein <halsmit@t-online.de> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--xkbcomp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xkbcomp.c b/xkbcomp.c
index b0df920..892062f 100644
--- a/xkbcomp.c
+++ b/xkbcomp.c
@@ -1037,6 +1037,7 @@ main(int argc, char *argv[])
ok = False;
break;
}
+ result.xkb->device_spec = device_id;
}
else if (inputFormat == INPUT_XKM) /* parse xkm file */
{
@@ -1053,6 +1054,7 @@ main(int argc, char *argv[])
ERROR1("Cannot read XKM file \"%s\"\n", inputFile);
ok = False;
}
+ result.xkb->device_spec = device_id;
}
else
{