mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +02: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue