[PATCH] Allow uploading a keymap to a single device

Dirk Wallenstein halsmit at t-online.de
Fri Oct 29 00:31:35 PDT 2010


Signed-off-by: Dirk Wallenstein <halsmit at t-online.de>
---
This should do the trick.  I tested it with two keyboards.

 xkbcomp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/xkbcomp.c b/xkbcomp.c
index b0df920..a1c6737 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 */
         {
-- 
1.7.1



More information about the xorg-devel mailing list