aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/show-us-flag.patch
blob: 5c86190947cfee495bc585491932f298bf8f7aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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));
bgstack15