Signed-off-by: Dirk Wallenstein <hals...@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

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to