Krolyxon
Commit 2bad53c

Branches

Refs →

nsxiv2bad53c

Simpler thumbnail selection border

Author
Bert
Date
2011-07-27 00:20 +0200
Parent
3e4f63e
Commit
2bad53c33d7cfb15bbd0f0cbeb96d51d4d6df18c

+2 −5

1 file changed

  1. M thumbs.c +2 −5
M thumbs.c View
@@ -375,11 +375,8 @@ void tns_highlight(tns_t *tns, win_t *win, int n, Bool hl) {
375375 else
376376 col = win->bgcol;
377377
378− win_draw_rect(win, win->pm, t->x - 3, t->y - 3, t->w + 6, t->h + 6,
379− False, 4, col);
380− if (hl)
381− win_draw_rect(win, win->pm, t->x - 3, t->y - 3, t->w + 5, t->h + 5,
382− False, 1, win->black);
378+ win_draw_rect(win, win->pm, t->x - 4, t->y - 4, t->w + 8, t->h + 8,
379+ False, 2, col);
383380 }
384381
385382 win_draw(win);