Simpler thumbnail selection border

This commit is contained in:
Bert 2011-07-27 00:20:27 +02:00
parent 3e4f63e3e2
commit 2bad53c33d
1 changed files with 2 additions and 5 deletions

View File

@ -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);