summaryrefslogtreecommitdiff
path: root/src/bar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bar.c')
-rw-r--r--src/bar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bar.c b/src/bar.c
index 89df8d1..dc51c37 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -209,14 +209,14 @@ marked_message (char *msg, int mark_start, int mark_end)
PRINT_DEBUG ("%d %d strlen(%d)==> %d %d\n", mark_start, mark_end, strlen(msg), start, end);
- lgv.foreground = gv.foreground;
+ lgv.foreground = current_screen()->fg_color;
lgv.function = GXxor;
mask = GCForeground | GCFunction;
lgc = XCreateGC(dpy, s->root, mask, &lgv);
XFillRectangle (dpy, s->bar_window, lgc, start, 0, end, height);
- lgv.foreground = gv.background;
+ lgv.foreground = s->bg_color;
lgc = XCreateGC(dpy, s->root, mask, &lgv);
XFillRectangle (dpy, s->bar_window, lgc, start, 0, end, height);