diff options
author | B. Stack <bgstack15@gmail.com> | 2022-10-09 17:57:05 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-10-09 17:57:05 -0400 |
commit | a7738f4dc72c9445623cd6f5348d7a80d4e52690 (patch) | |
tree | b336daf9b226783c39e6e985410cecf46484de3d /debian/patches/show-us-flag.patch | |
download | fbxkb-a7738f4dc72c9445623cd6f5348d7a80d4e52690.tar.gz fbxkb-a7738f4dc72c9445623cd6f5348d7a80d4e52690.tar.bz2 fbxkb-a7738f4dc72c9445623cd6f5348d7a80d4e52690.zip |
initial commit, straight from apt-get source
Diffstat (limited to 'debian/patches/show-us-flag.patch')
-rw-r--r-- | debian/patches/show-us-flag.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/show-us-flag.patch b/debian/patches/show-us-flag.patch new file mode 100644 index 0000000..5c86190 --- /dev/null +++ b/debian/patches/show-us-flag.patch @@ -0,0 +1,14 @@ +Description: Fix parsing of keyboard info, to show proper "us" flag +Author: Dmitry Borisyuk <q1werty@i.com.ua> +Bug-Debian: https://bugs.debian.org/412254 +--- a/fbxkb.c ++++ b/fbxkb.c +@@ -372,7 +372,7 @@ + *tmp = 0; + + DBG("map=%s no=%d\n", tok, no); +- if (!strcmp(tok, "pc") || !strcmp(tok, "group")) ++ if (!strcmp(tok, "pc") || (strlen(tok) != 2)) + continue; + + g_assert((no >= 0) && (no < ngroups)); |