[PATCH] Allow uploading a keymap to a single device

Peter Hutterer peter.hutterer at who-t.net
Sun Oct 31 16:25:43 PDT 2010


On Fri, Oct 29, 2010 at 09:31:35AM +0200, Dirk Wallenstein wrote:
> 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

wouldn't the same be necessary for the XKM path as well? or, even better, on
the generic path?

Cheers,
  Peter


More information about the xorg-devel mailing list