summaryrefslogtreecommitdiffstats
path: root/sxiv.h
diff options
context:
space:
mode:
Diffstat (limited to 'sxiv.h')
-rw-r--r--sxiv.h9
1 files changed, 4 insertions, 5 deletions
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;
};