Moved new chat win events to client events module

This commit is contained in:
James Booth
2015-04-21 23:28:52 +01:00
parent 53f2a4a35c
commit 88739d5c59
9 changed files with 105 additions and 70 deletions

View File

@@ -660,7 +660,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(1);
ui_switch_win_num(1);
}
return TRUE;
@@ -681,7 +681,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(1);
ui_switch_win_num(1);
}
return TRUE;
}
@@ -740,7 +740,7 @@ wins_tidy(void)
windows = new_windows;
current = 1;
ui_switch_win(1);
ui_switch_win_num(1);
g_list_free(keys);
return TRUE;
} else {