commit 6d8c5fe0036e741e0f39c5f44a660fd89c8f8f50 parent 204f3e1e45f25d4885c0fb3f61d0c5de619e8e96 Author: Kris Maglione <jg@suckless.org> Date: Fri, 23 Feb 2007 15:11:39 -0500 Bigger target area for border resizals. Fix to rc.wmii. Diffstat:
| frame.c | | | 11 | ++++++----- |
| rc/rc.wmii | | | 1 | + |
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/frame.c b/frame.c @@ -239,13 +239,14 @@ 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; - draw_border(&br); + if(def.border) + draw_border(&br); if(f->client->urgent) br.color.bg = br.color.fg; diff --git a/rc/rc.wmii b/rc/rc.wmii @@ -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 {