summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2003-12-31 16:00:20 +0000
committerSebastien Helleu <flashcode@flashtux.org>2003-12-31 16:00:20 +0000
commitfd3e94070ae65c5a7e39fa95a72f0e30d374c8b4 (patch)
tree6c9535c87fed7cc4f4a305a0c7619ec8c52cec60 /src/common
parent0708f1a571119ad28b810bf519f7a8d0f2ab3c24 (diff)
downloadweechat-fd3e94070ae65c5a7e39fa95a72f0e30d374c8b4.zip
When private window is created (another user is talking), WeeChat does not switch to this window
Diffstat (limited to 'src/common')
-rw-r--r--src/common/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/command.c b/src/common/command.c
index 8e8cc91ea..b4b02739f 100644
--- a/src/common/command.c
+++ b/src/common/command.c
@@ -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);
}