1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Automatically open window with /msg command

This commit is contained in:
James Booth 2012-10-03 00:03:52 +01:00
parent a970b9ea86
commit a1476f1780

View File

@ -365,7 +365,8 @@ win_show_outgoing_msg(const char * const from, const char * const to,
_win_show_time(win); _win_show_time(win);
_win_show_user(win, from, 0); _win_show_user(win, from, 0);
_win_show_message(win, message); _win_show_message(win, message);
_win_switch_if_active(win_index);
/*
status_bar_active(win_index); status_bar_active(win_index);
if (win_index == _curr_prof_win) { if (win_index == _curr_prof_win) {
@ -373,6 +374,7 @@ win_show_outgoing_msg(const char * const from, const char * const to,
} else { } else {
status_bar_new(win_index); status_bar_new(win_index);
} }
*/
} }
void void