aboutsummaryrefslogtreecommitdiffstats
path: root/thumbs.c
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2021-09-16 22:31:03 +0200
committerN-R-K <79544946+N-R-K@users.noreply.github.com>2021-09-16 22:32:11 +0200
commit25a5a540109cc7b3820daec86bb174b4b96ecb84 (patch)
treef8bc483d1af7ec2891318b3226be20527ef98e41 /thumbs.c
parent956faac00c0a98c26ba6b8c8d2b82af6f5f981da (diff)
downloadnsxiv-25a5a540109cc7b3820daec86bb174b4b96ecb84.tar.zst
add .mark.foreground to Xresources
since we're already allowing both window and bar colors to be customizable, it doesn't make sense to not allow so for mark color.
Diffstat (limited to 'thumbs.c')
-rw-r--r--thumbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thumbs.c b/thumbs.c
index 1850f52..c74d846 100644
--- a/thumbs.c
+++ b/thumbs.c
@@ -478,7 +478,7 @@ void tns_mark(tns_t *tns, int n, bool mark)
win_draw_rect(win, x + 1, y - 1, tns->bw, 1, true, 1, col);
if (mark)
- col = win->win_fg.pixel;
+ col = win->mrk_fg.pixel;
win_draw_rect(win, x, y, tns->bw + 2, tns->bw + 2, true, 1, col);