From b2dbd2fed3c9cee72ac3e84036b6b08b169a376e Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Sat, 27 Sep 2014 22:05:21 +0200 Subject: Changed image mark in thumbnail view to small rectangle --- thumbs.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'thumbs.c') diff --git a/thumbs.c b/thumbs.c index 7f17801..ede8d96 100644 --- a/thumbs.c +++ b/thumbs.c @@ -453,14 +453,13 @@ void tns_mark(tns_t *tns, int n, bool mark) unsigned long col = win->fullscreen ? win->fscol : win->bgcol; int x = t->x + t->w, y = t->y + t->h; - win_draw_rect(win, x - 2, y + 1, 1, 2, true, 1, col); - win_draw_rect(win, x + 1, y - 2, 2, 1, true, 1, col); + win_draw_rect(win, x - 1, y + 1, 1, 2, true, 1, col); + win_draw_rect(win, x + 1, y - 1, 2, 1, true, 1, col); if (mark) col = win->selcol; - win_draw_rect(win, x - 1, y + 1, 6, 2, true, 1, col); - win_draw_rect(win, x + 1, y - 1, 2, 6, true, 1, col); + win_draw_rect(win, x, y, 4, 4, true, 1, col); if (!mark && n == *tns->sel) tns_highlight(tns, n, true); -- cgit v1.2.3-54-g00ecf