summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/list.c b/src/list.c
index 7751c69..99542d9 100644
--- a/src/list.c
+++ b/src/list.c
@@ -485,6 +485,8 @@ set_active_window (rp_window *win)
maximize (win);
unhide_window (win);
+ give_window_focus (win, last_win);
+
/* Make sure the program bar is always on the top */
update_window_names (win->scr);