summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c5
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 *