diff options
author | Timo Sirainen <cras@irssi.org> | 2000-05-29 00:32:48 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-05-29 00:32:48 +0000 |
commit | 59d47df22dc3501a7dd7e51830260e36088bf545 (patch) | |
tree | 79cc242c47ba31fc181b8c3180ca8d470f890143 | |
parent | 8c06612a28a3bbe269565dd8a3cb07751719888e (diff) | |
download | irssi-59d47df22dc3501a7dd7e51830260e36088bf545.zip |
msgs window was irc server specific - messages from other irc servers were
displayed in active window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@248 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-common/core/windows.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-common/core/windows.c b/src/fe-common/core/windows.c index da6de6aa..28494225 100644 --- a/src/fe-common/core/windows.c +++ b/src/fe-common/core/windows.c @@ -231,6 +231,10 @@ WINDOW_REC *window_find_closest(void *server, const char *name, int level) window = window_find_level(server, level); if (window != NULL) return window; + /* match by level - ignore server */ + window = window_find_level(NULL, level); + if (window != NULL) return window; + /* fallback to active */ return active_win; } |