From 3e4f63e3e2cd046ef6672c7ca3a5ed8b3f4bd0e5 Mon Sep 17 00:00:00 2001 From: Bert Date: Tue, 26 Jul 2011 23:58:31 +0200 Subject: Nicer thumbnail selection border; new default colors --- thumbs.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'thumbs.c') diff --git a/thumbs.c b/thumbs.c index 5700b87..8d75935 100644 --- a/thumbs.c +++ b/thumbs.c @@ -375,8 +375,11 @@ 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, 3, col); + False, 1, win->black); } win_draw(win); -- cgit v1.2.3