diff options
author | Timo Sirainen <cras@irssi.org> | 2001-07-28 23:28:46 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-07-28 23:28:46 +0000 |
commit | 0fa4e20497f045498d48bc0b9b40f6587cb02850 (patch) | |
tree | 2f9ed58ceb933a6252278f928d0956a815b711ce /src | |
parent | 35ce180f1025835f1360610bc3f06466799ebbb8 (diff) | |
download | irssi-0fa4e20497f045498d48bc0b9b40f6587cb02850.zip |
/SET reuse_unused_windows is now forced ON only if /SET autocreate_windows
is ON and autoclose_windows is OFF.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1662 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/window-items.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fe-common/core/window-items.c b/src/fe-common/core/window-items.c index fef32a5f..3b72d4e8 100644 --- a/src/fe-common/core/window-items.c +++ b/src/fe-common/core/window-items.c @@ -246,8 +246,9 @@ void window_item_create(WI_ITEM_REC *item, int automatic) g_return_if_fail(item != NULL); reuse_unused_windows = - !settings_get_bool("autoclose_windows") || - settings_get_bool("reuse_unused_windows"); + settings_get_bool("reuse_unused_windows") || + (!settings_get_bool("autoclose_windows") && + settings_get_bool("autocreate_windows")); clear_waiting = TRUE; window = NULL; |