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:
parent
ea904f8dc9
commit
66b0ffe057
@ -165,8 +165,13 @@ void
|
|||||||
command(window, cmd)
|
command(window, cmd)
|
||||||
Irssi::UI::Window window
|
Irssi::UI::Window window
|
||||||
char *cmd
|
char *cmd
|
||||||
|
PREINIT:
|
||||||
|
WINDOW_REC *old;
|
||||||
CODE:
|
CODE:
|
||||||
|
old = active_win;
|
||||||
|
active_win = window;
|
||||||
perl_command(cmd, window->active_server, window->active);
|
perl_command(cmd, window->active_server, window->active);
|
||||||
|
active_win = old;
|
||||||
|
|
||||||
void
|
void
|
||||||
window_item_add(window, item, automatic)
|
window_item_add(window, item, automatic)
|
||||||
|
Loading…
Reference in New Issue
Block a user