mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Modify Irssi::UI::Window::command to restore the original active window only if the command executed has not made another one active, bug #403.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4408 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7484c8b373
commit
4c389186b5
@ -160,7 +160,8 @@ CODE:
|
|||||||
old = active_win;
|
old = active_win;
|
||||||
active_win = window;
|
active_win = window;
|
||||||
perl_command(cmd, window->active_server, window->active);
|
perl_command(cmd, window->active_server, window->active);
|
||||||
if (g_slist_find(windows, old) != NULL)
|
if (active_win == window &&
|
||||||
|
g_slist_find(windows, old) != NULL)
|
||||||
active_win = old;
|
active_win = old;
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user