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

Irssi::Window::command() should make the specified window active_win

temporarily.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2138 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-25 15:01:39 +00:00 committed by cras
parent ea904f8dc9
commit 66b0ffe057

View File

@ -165,8 +165,13 @@ void
command(window, cmd)
Irssi::UI::Window window
char *cmd
PREINIT:
WINDOW_REC *old;
CODE:
old = active_win;
active_win = window;
perl_command(cmd, window->active_server, window->active);
active_win = old;
void
window_item_add(window, item, automatic)