avoid setting xkb variant as ',', just set as '' instead

SVN revision: 77311
This commit is contained in:
Mike Blumenkrantz 2012-10-02 12:12:03 +00:00
parent 4735da0b0c
commit 42c7aa5975
1 changed files with 2 additions and 5 deletions

View File

@ -54,12 +54,9 @@ e_xkb_update(int cur_group)
{
if (cl->variant)
{
if (strcmp(cl->variant, "basic"))
eina_strbuf_append(buf, cl->variant);
if (!strcmp(cl->variant, "basic")) continue;
eina_strbuf_append(buf, cl->variant);
eina_strbuf_append(buf, ",");
/* workaround xkb bug where basic variants work with ',' at the
* end, but dvorak (and mayby others) don't */
// if (!strcmp(cl->variant, "basic")) eina_strbuf_append(buf, ",");
}
else
eina_strbuf_append(buf, ",");