diff options
author | sabetts <sabetts> | 2004-11-03 03:01:12 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2004-11-03 03:01:12 +0000 |
commit | 0832f74bbbc6cac86740966afb8056ce53e3ca92 (patch) | |
tree | 709639f77c88fb6b2f599d5a129c94a32bde6ad2 /src/split.c | |
parent | f9c720556c0d3fd96fe0f5882439fb71ebdcfe77 (diff) | |
download | ratpoison-0832f74bbbc6cac86740966afb8056ce53e3ca92.zip |
* 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
screen as win.
(group_next_window): likewise
* src/window.c (find_window_other): add argument, the screen to
find the window in. All callers updated.
Diffstat (limited to 'src/split.c')
-rw-r--r-- | src/split.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/split.c b/src/split.c index 086c645..2553bfb 100644 --- a/src/split.c +++ b/src/split.c @@ -66,8 +66,10 @@ cleanup_frame (rp_frame *frame) { rp_window *last_win; rp_window *win; + rp_screen *screen; + screen = frames_screen(frame); - win = find_window_other (); + win = find_window_other (screen); if (win == NULL) { set_frames_window (frame, NULL); |