[PATCH xkbcomp v2] Allow uploading a keymap to a single device
Peter Hutterer
peter.hutterer at who-t.net
Sun Oct 31 21:00:51 PDT 2010
On Fri, Oct 29, 2010 at 11:35:10AM +0200, Dirk Wallenstein wrote:
> 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
sorry, didn't see this patch until after I wrote the other email. Pushed,
thanks.
Cheers,
Peter
More information about the xorg-devel
mailing list