1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

When private window is created (another user is talking), WeeChat does not switch to this window

This commit is contained in:
Sebastien Helleu
2003-12-31 16:00:20 +00:00
parent 0708f1a571
commit fd3e94070a
26 changed files with 64 additions and 44 deletions
+2 -2
View File
@@ -849,7 +849,7 @@ weechat_cmd_connect (int argc, char **argv)
return -1;
}
if (!ptr_server->window)
gui_window_new (ptr_server, NULL);
gui_window_new (ptr_server, NULL, 1);
if (server_connect (ptr_server))
{
irc_login (ptr_server);
@@ -1425,7 +1425,7 @@ weechat_cmd_server (int argc, char **argv)
if (new_server->autoconnect)
{
gui_window_new (new_server, NULL);
gui_window_new (new_server, NULL, 1);
if (server_connect (new_server))
irc_login (new_server);
}