Removed ui_ev_focus_win

This commit is contained in:
James Booth
2015-10-27 20:40:42 +00:00
parent 795360f446
commit 8087053f49
6 changed files with 24 additions and 29 deletions

View File

@@ -537,7 +537,7 @@ wins_swap(int source_win, int target_win)
}
if (wins_get_current_num() == source_win) {
wins_set_current_by_num(target_win);
ui_ev_focus_win(console);
ui_switch_win(console);
}
return TRUE;
@@ -558,7 +558,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_ev_focus_win(console);
ui_switch_win(console);
}
return TRUE;
}
@@ -618,7 +618,7 @@ wins_tidy(void)
windows = new_windows;
current = 1;
ProfWin *console = wins_get_console();
ui_ev_focus_win(console);
ui_switch_win(console);
g_list_free(keys);
return TRUE;
} else {