[PATCH] xf86-input-evdev: XkbModel parsing error

Peter Hutterer peter.hutterer at who-t.net
Mon Jan 5 14:53:42 PST 2009


On Mon, Jan 05, 2009 at 04:35:09PM +0800, Yan Li wrote:
> 
> Signed-off-by: Yan Li <yan.i.li at intel.com>
> ---
>  src/evdev.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/evdev.c b/src/evdev.c
> index 25325a3..abbd1f6 100644
> --- a/src/evdev.c
> +++ b/src/evdev.c
> @@ -854,7 +854,7 @@ EvdevAddKeyClass(DeviceIntPtr device)
>          SetXkbOption(pInfo, "xkb_rules", &pEvdev->xkb_rules);
>          SetXkbOption(pInfo, "xkb_model", &pEvdev->xkb_model);
>  	if (!pEvdev->xkb_model)
> -	    SetXkbOption(pInfo, "XkbModel", &pEvdev->xkb_rules);
> +	    SetXkbOption(pInfo, "XkbModel", &pEvdev->xkb_model);
>          SetXkbOption(pInfo, "xkb_layout", &pEvdev->xkb_layout);
>  	if (!pEvdev->xkb_layout)
>  	    SetXkbOption(pInfo, "XkbLayout", &pEvdev->xkb_layout);
> -- 
> 1.5.6.5

Pushed as d170cba0cdd8f7a2e500e094f5b21fc33aefb52a, thanks!

Cheers,
  Peter



More information about the xorg mailing list