summaryrefslogtreecommitdiff
path: root/src/split.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/split.c')
-rw-r--r--src/split.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/split.c b/src/split.c
index 3345523..dfda926 100644
--- a/src/split.c
+++ b/src/split.c
@@ -859,8 +859,7 @@ set_active_frame (rp_frame *frame)
focus. */
if(frame->win_number == EMPTY)
{
- XSetInputFocus (dpy, s->key_window,
- RevertToPointerRoot, CurrentTime);
+ set_window_focus (s->key_window);
}
}
@@ -883,8 +882,7 @@ blank_frame (rp_frame *frame)
update_bar (s);
/* Give the key window focus. */
- XSetInputFocus (dpy, current_screen()->key_window,
- RevertToPointerRoot, CurrentTime);
+ set_window_focus (current_screen()->key_window);
}
void