summaryrefslogtreecommitdiff
path: root/src/bar.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-11-03 03:13:02 +0000
committersabetts <sabetts>2004-11-03 03:13:02 +0000
commitf34655b84b3562f6adf59556f76d40b7527409d8 (patch)
treed159ada7e8341ff1f3ed6f6cf427b349ec60c5bf /src/bar.c
parent0832f74bbbc6cac86740966afb8056ce53e3ca92 (diff)
downloadratpoison-f34655b84b3562f6adf59556f76d40b7527409d8.zip
(blank_frame): use the frames screen, not the current screen.
Diffstat (limited to 'src/bar.c')
-rw-r--r--src/bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bar.c b/src/bar.c
index cb7d45d..bbd39a2 100644
--- a/src/bar.c
+++ b/src/bar.c
@@ -454,7 +454,7 @@ draw_inverse_box (rp_screen *s, int x, int y, int width, int height)
GC lgc;
unsigned long mask;
- lgv.foreground = current_screen()->fg_color;
+ lgv.foreground = s->fg_color;
lgv.function = GXxor;
mask = GCForeground | GCFunction;
lgc = XCreateGC(dpy, s->root, mask, &lgv);