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

$window->command() changed active window temporarily to wanted one and then

back to old one. This wasn't very good idea if the old window was destroyed
by the command..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2613 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-03-14 21:59:16 +00:00 committed by cras
parent e0c8f5d502
commit 2a1b4c0a17

View File

@ -158,6 +158,7 @@ CODE:
old = active_win;
active_win = window;
perl_command(cmd, window->active_server, window->active);
if (g_slist_find(windows, old) != NULL)
active_win = old;
void