diff options
author | Bert Münnich <ber.t@posteo.de> | 2019-01-23 21:18:12 +0100 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2019-01-23 21:21:15 +0100 |
commit | 919ada11232781e3624363d834a6b9851c3a2bcb (patch) | |
tree | 517183d4f22c0047ff9841b0c42e30fc6312924b /sxiv.h | |
parent | 9d244da5124bf13046a4f9606b616ab1d8244e0e (diff) | |
download | nsxiv-919ada11232781e3624363d834a6b9851c3a2bcb.tar.zst |
Align compile-time color options with X resource colors
Two colors are more than enough!
Diffstat (limited to 'sxiv.h')
-rw-r--r-- | sxiv.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -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; }; |