Conf: Fix "bug" #7 requested by sahko.
This commit is contained in:
parent
a3a0dd32ba
commit
b45b14dcd0
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user