mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 11:50:10 +02: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:
parent
ea904f8dc9
commit
66b0ffe057
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue