[SYSTEM] Apply patch from ALTLinux.
authorAlexey Gladkov <legion@altlinux.org>
Sun, 4 Feb 2007 19:33:50 +0000 (22:33 +0300)
committerAlexey Gladkov <legion@altlinux.org>
Sun, 4 Feb 2007 19:33:50 +0000 (22:33 +0300)
Apply kbd-1.12-Meta_utf8.patch patch from ALTLinux distribution.

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
src/ksyms.c

index eee5258..d6e7074 100644 (file)
@@ -1726,6 +1726,8 @@ ksymtocode(const char *s) {
                keycode = ksymtocode(s+5);
                if (KTYP(keycode) == KT_LATIN)
                        return K(KT_META, KVAL(keycode));
+               else if(prefer_unicode)
+                       return (0);
                /* fall through to error printf */
        }