Bigger target area for border resizals. Fix to rc.wmii.

This commit is contained in:
Kris Maglione 2007-02-23 15:11:39 -05:00
parent 204f3e1e45
commit 6d8c5fe003
2 changed files with 7 additions and 5 deletions

View File

@ -239,12 +239,13 @@ draw_frame(Frame *f) {
br.border = 1;
br.rect.width += br.rect.x;
br.rect.x = 0;
f->titlebar.x = br.rect.x + 1;
f->titlebar.height = br.rect.height - 1;
f->titlebar.y = br.rect.y + 1;
f->titlebar.width = br.rect.width - 2;
f->titlebar.x = br.rect.x + 3;
f->titlebar.height = br.rect.height - 3;
f->titlebar.y = br.rect.y + 3;
f->titlebar.width = br.rect.width - 6;
draw_border(&br);
br.rect.height = f->rect.height;
if(def.border)
draw_border(&br);
if(f->client->urgent)

View File

@ -167,6 +167,7 @@ fn Key-$MODKEY-Shift-c {
}
fn Key-$MODKEY-Shift-t {
wmiir xwrite /client/`{wmiir read /client/sel/ctl}^/tags `{read_tags | wmiimenu} &
}
for(i in `{seq 0 9}) {
fn Key-$MODKEY-$i {