Renamed ui_switch_win -> ui_focus_win

This commit is contained in:
James Booth
2015-11-02 20:59:36 +00:00
parent 14a81fbbbe
commit 75bce88b8a
6 changed files with 23 additions and 23 deletions

View File

@@ -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 {