Multiple keyboard mapping issues

Peter Hutterer mailinglists at who-t.net
Sun Feb 4 16:44:04 PST 2007


On 04/02/2007, at 23:41 , Daniel Stone wrote:
> Damn.  Does:
> diff --git a/xkb/xkbUtils.c b/xkb/xkbUtils.c
> index 400306a..062159e 100644
> --- a/xkb/xkbUtils.c
> +++ b/xkb/xkbUtils.c
> @@ -1220,7 +1220,7 @@ XkbCopyKeymap(XkbDescPtr src, XkbDescPtr
>                      tmp = xalloc(src->max_key_code + 1);
>                  if (!tmp)
>                      return FALSE;
> -                dst->map->syms = tmp;
> +                dst->map->modmap = tmp;
>              }
>              memcpy(dst->map->modmap, src->map->modmap, src- 
> >max_key_code + 1);
>          }
>
> fix it?
>
> Cheers,
> Daniel (who's spent far too long on this)

ooooh. multiple keyboard goodness!

--
Multi-Pointer X Server
http://wearables.unisa.edu.au/mpx




More information about the xorg mailing list