mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
/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
This commit is contained in:
parent
35ce180f10
commit
0fa4e20497
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user