diff --git a/components/keymap.c b/components/keymap.c
index f8a2a47..4f3 100644
--- a/components/keymap.c
+++ b/components/keymap.c
@@ -29,8 +29,8 @@ get_layout(char *syms, int grp_num)
int grp;
layout = NULL;
- tok = strtok(syms, "+:");
- for (grp = 0; tok && grp
I use slstatus on FreeBSD and configure keyboard layout with xkbcomp.
get_layout() expects symbols in "pc+us+ru:2+inet(evdev)+group(caps_toggle)"
format. But after using xkbcomp I get
"pc_us_ru_2_inet(evdev)_group(caps_toggle)"
even after setting xkb_symbols to first format and 'setxkbmap -print