Conf: Fix "bug" #7 requested by sahko.

This commit is contained in:
Martin Duquesnoy 2009-10-12 19:16:03 +02:00
parent a3a0dd32ba
commit b45b14dcd0
2 changed files with 2 additions and 2 deletions

View File

@ -501,7 +501,7 @@ conf_keybind_section(char *src)
for(i = 0; i < conf.nkeybind; ++i)
{
tmp = get_nsec(src, "key", i);
buf = get_list_opt(tmp, "{Control}", "mod", &n);
buf = get_list_opt(tmp, "", "mod", &n);
for(j = 0; j < n; ++j)
keys[i].mod |= char_to_modkey(buf[j].str, key_list);

View File

@ -661,7 +661,7 @@ layer(int screen)
c->flags |= TileFlag;
geo.x = x[c->layer];
geo.height = (sg.height / l) - BORDH;
geo.height = (sg.height / l) - (BORDH + TBARH);
geo.width = (sg.width / ((nl[c->layer]) ? nl[c->layer] : 1)) - BORDH * 2;
geo.y = sg.y + ((geo.height + TBARH + BORDH) * c->layer) - (geo.height + TBARH + BORDH);