aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-07-27 00:20:27 +0200
committerBert <ber.t@gmx.com>2011-07-27 00:20:27 +0200
commit2bad53c33d7cfb15bbd0f0cbeb96d51d4d6df18c (patch)
treed3d352164a99e59ffaf4c213ce7a0418eeca7817
parent3e4f63e3e2cd046ef6672c7ca3a5ed8b3f4bd0e5 (diff)
Simpler thumbnail selection border
-rw-r--r--thumbs.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/thumbs.c b/thumbs.c
index 8d75935..bfd8794 100644
--- a/thumbs.c
+++ b/thumbs.c
@@ -375,11 +375,8 @@ void tns_highlight(tns_t *tns, win_t *win, int n, Bool hl) {
else
col = win->bgcol;
- win_draw_rect(win, win->pm, t->x - 3, t->y - 3, t->w + 6, t->h + 6,
- False, 4, col);
- if (hl)
- win_draw_rect(win, win->pm, t->x - 3, t->y - 3, t->w + 5, t->h + 5,
- False, 1, win->black);
+ win_draw_rect(win, win->pm, t->x - 4, t->y - 4, t->w + 8, t->h + 8,
+ False, 2, col);
}
win_draw(win);