diff options
Diffstat (limited to 'src/window_list.c')
-rw-r--r-- | src/window_list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/window_list.c b/src/window_list.c index 6e3f85b1..46da0e75 100644 --- a/src/window_list.c +++ b/src/window_list.c @@ -536,7 +536,7 @@ wins_swap(int source_win, int target_win) } if (wins_get_current_num() == source_win) { wins_set_current_by_num(target_win); - ui_switch_win(console); + ui_focus_win(console); } return TRUE; @@ -557,7 +557,7 @@ wins_swap(int source_win, int target_win) status_bar_active(source_win); } if ((wins_get_current_num() == source_win) || (wins_get_current_num() == target_win)) { - ui_switch_win(console); + ui_focus_win(console); } return TRUE; } @@ -617,7 +617,7 @@ wins_tidy(void) windows = new_windows; current = 1; ProfWin *console = wins_get_console(); - ui_switch_win(console); + ui_focus_win(console); g_list_free(keys); return TRUE; } else { |