[PATCH evdev 1/3] Switch default model to pc104.

Daniel Stone daniel at fooishbar.org
Thu May 30 11:06:14 PDT 2013


On 30 May 2013 00:14, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> As of xkeyboard-config 1.9, the evdev model is hidden (c887d2876)
> The server switched to pc105 with version 1.8 (1df4bd601).
>
> The evdev model resolves to pc104 anyway, so this commit has no real effect
> other than to switch from a catch-all rule to explicit.
> Use pc104 so this is easy to find for those investigating the code and
> wondering why. pc104 is the 'correct' geometry for the us layout, which is
> the default after all. Switching to pc105 would show keys missing if no
> model is set (e.g. on uk/de layouts) but it would be the wrong layout for
> the default.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Acked-by: Daniel Stone <daniel at fooishbar.org>

(See? I'm still here!)
-d

>  src/evdev.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/evdev.c b/src/evdev.c
> index aec1447..86af151 100644
> --- a/src/evdev.c
> +++ b/src/evdev.c
> @@ -96,7 +96,7 @@
>
>  static const char *evdevDefaults[] = {
>      "XkbRules",     "evdev",
> -    "XkbModel",     "evdev",
> +    "XkbModel",     "pc104", /* the right model for 'us' */
>      "XkbLayout",    "us",
>      NULL
>  };
> --
> 1.8.1.4
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list