forked from enlightenment/enlightenment
ok try an alternative bug workaround. seems a LOT of layouts fail
without a , after "basic". my list being: az in br bg ma ca ir jp ru lk tw ua uz kr nec_vndr/jp pk brai tz ke bw all kbd layotus of basic variant work with a , at the end. dvorak seems not to, so add , always if basic, and remove if not. thats the workaround for now. SVN revision: 70592
This commit is contained in:
parent
5082a158f2
commit
e43dc09abe
|
@ -42,12 +42,15 @@ e_xkb_update(void)
|
||||||
eina_strbuf_append(buf, cl->name);
|
eina_strbuf_append(buf, cl->name);
|
||||||
eina_strbuf_append(buf, "'");
|
eina_strbuf_append(buf, "'");
|
||||||
|
|
||||||
eina_strbuf_append(buf, " -variant '");
|
if (cl->variant)
|
||||||
eina_strbuf_append(buf, cl->variant);
|
{
|
||||||
/* workaround xkb bug where japanese (only one with a / in name)
|
eina_strbuf_append(buf, " -variant '");
|
||||||
* doesnt work without a , at the end */
|
eina_strbuf_append(buf, cl->variant);
|
||||||
if ((cl->name) && (strchr(cl->name, '/'))) eina_strbuf_append(buf, ",");
|
/* workaround xkb bug where basic variants work with ',' at the
|
||||||
eina_strbuf_append(buf, "'");
|
* end, but dvorak (and mayby others) don't */
|
||||||
|
if (!strcmp(cl->variant, "basic")) eina_strbuf_append(buf, ",");
|
||||||
|
eina_strbuf_append(buf, "'");
|
||||||
|
}
|
||||||
|
|
||||||
if (cl->model)
|
if (cl->model)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue