[PATCH xkbcomp v2] Allow uploading a keymap to a single device
Dirk Wallenstein
halsmit at t-online.de
Fri Oct 29 02:35:10 PDT 2010
Signed-off-by: Dirk Wallenstein <halsmit at t-online.de>
---
On Fri, Oct 29, 2010 at 11:06:26AM +0200, Julien Cristau wrote:
> Should this also be done for the INPUT_XKM case?
Oh, of course. Tested, too. The manual page seems to be fulfilled.
xkbcomp.c | 2 ++
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
{
--
1.7.1
More information about the xorg-devel
mailing list