Align compile-time color options with X resource colors

Two colors are more than enough!
This commit is contained in:
Bert Münnich
2019-01-23 21:18:12 +01:00
parent 9d244da512
commit 919ada1123
5 changed files with 37 additions and 32 deletions

9
sxiv.h
View File

@ -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;
};