summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bar.c2
-rw-r--r--src/split.c2
2 files changed, 2 insertions, 2 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);
diff --git a/src/split.c b/src/split.c
index 2553bfb..3d5c3a1 100644
--- a/src/split.c
+++ b/src/split.c
@@ -897,7 +897,7 @@ blank_frame (rp_frame *frame)
update_bar (s);
/* Give the key window focus. */
- set_window_focus (current_screen()->key_window);
+ set_window_focus (frames_screen(frame)->key_window);
}
void