about summary refs log tree commit diff stats
path: root/src/ui/inputwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/inputwin.c')
-rw-r--r--src/ui/inputwin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c
index d875b77d..ac9fb477 100644
--- a/src/ui/inputwin.c
+++ b/src/ui/inputwin.c
@@ -456,7 +456,7 @@ _go_to_win(int i)
 {
     ProfWin *window = wins_get_by_num(i);
     if (window) {
-        ui_switch_win(window);
+        ui_focus_win(window);
     }
 }
 
@@ -535,7 +535,7 @@ _inp_rl_altleft_handler(int count, int key)
 {
     ProfWin *window = wins_get_previous();
     if (window) {
-        ui_switch_win(window);
+        ui_focus_win(window);
     }
     return 0;
 }
@@ -545,7 +545,7 @@ _inp_rl_altright_handler(int count, int key)
 {
     ProfWin *window = wins_get_next();
     if (window) {
-        ui_switch_win(window);
+        ui_focus_win(window);
     }
     return 0;
 }