diff options
author | sabetts <sabetts> | 2004-11-03 03:13:02 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2004-11-03 03:13:02 +0000 |
commit | f34655b84b3562f6adf59556f76d40b7527409d8 (patch) | |
tree | d159ada7e8341ff1f3ed6f6cf427b349ec60c5bf | |
parent | 0832f74bbbc6cac86740966afb8056ce53e3ca92 (diff) | |
download | ratpoison-f34655b84b3562f6adf59556f76d40b7527409d8.zip |
(blank_frame): use the frames screen, not the current screen.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/bar.c | 2 | ||||
-rw-r--r-- | src/split.c | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -1,5 +1,7 @@ 2004-11-02 Shawn Betts <katia_dilkina@verizon.net> + * src/split.c (blank_frame): use the frames screen, not the current screen. + * src/group.c (group_last_window): add argument, the screen to find the window in. All callers updated. (group_prev_window): make sure the matched window is in the same @@ -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 |