From 919ada11232781e3624363d834a6b9851c3a2bcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Wed, 23 Jan 2019 21:18:12 +0100 Subject: Align compile-time color options with X resource colors Two colors are more than enough! --- sxiv.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'sxiv.h') diff --git a/sxiv.h b/sxiv.h index 757674e..140132f 100644 --- a/sxiv.h +++ b/sxiv.h @@ -408,9 +408,10 @@ struct win { Window xwin; win_env_t env; - XftColor bgcol; - XftColor fscol; - XftColor selcol; + bool light; /* bg is lighter than fg */ + XftColor bg; + XftColor fg; + XftColor black; int x; int y; @@ -430,8 +431,6 @@ struct win { unsigned int h; win_bar_t l; win_bar_t r; - XftColor bgcol; - XftColor fgcol; } bar; }; -- cgit v1.2.3