diff options
author | sabetts <sabetts> | 2003-03-31 11:22:15 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-03-31 11:22:15 +0000 |
commit | 7eac68127c67d4c007b65548af5901f4e381d512 (patch) | |
tree | 6fa02c6817509a5bc912075b409c9562cae1c645 /src/window.c | |
parent | 1682d69fb5d92e4368b24f3399db4243549b132a (diff) | |
download | ratpoison-7eac68127c67d4c007b65548af5901f4e381d512.zip |
* src/window.c (set_current_window): use current_frame()
* src/split.h (current_frame): new prototype
* src/split.c (current_frame): new function
(current_window): use current_frame()
(split_frame): likewise
(remove_all_splits): likewise
(set_active_frame): likewise
(show_frame_message): likewise
(remove_all_splits): use current_screen()
* src/actions.c (cmd_prev_frame): use current_frame()
(cmd_next_frame): likewise
(cmd_select): likewise
(cmd_h_split): likewise
(cmd_v_split): likewise
(cmd_remove): likewise
(cmd_shrink): likewise
(cmd_resize): likewise
(cmd_focusup): likewise
(cmd_focusdown): likewise
(cmd_focusleft): likewise
(cmd_focusright): likewise
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/window.c b/src/window.c index a3042ab..692e53e 100644 --- a/src/window.c +++ b/src/window.c @@ -178,10 +178,7 @@ find_window (Window w) void set_current_window (rp_window *win) { - rp_window_frame *frame; - - frame = screen_get_frame (current_screen(), current_screen()->current_frame); - set_frames_window (frame, win); + set_frames_window (current_frame(), win); } rp_window * |