diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-20 02:25:38 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-20 02:25:38 +0000 |
commit | 29aa8ef2c83035e51caacf97df214385b01cb620 (patch) | |
tree | d809e3e9a3a7d507b075017ee3b897619d706d82 /src/fe-common/core/window-items.c | |
parent | 1eff191e65d79e6622283c6d5287148457a4a612 (diff) | |
download | irssi-29aa8ef2c83035e51caacf97df214385b01cb620.zip |
/SET autocreate_split_windows - If autocreated windows should be split
windows instead of hidden.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2118 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/window-items.c')
-rw-r--r-- | src/fe-common/core/window-items.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fe-common/core/window-items.c b/src/fe-common/core/window-items.c index 0c81c282..e53e5a1d 100644 --- a/src/fe-common/core/window-items.c +++ b/src/fe-common/core/window-items.c @@ -295,6 +295,10 @@ void window_item_create(WI_ITEM_REC *item, int automatic) if (window == NULL) { /* create new window to use */ + if (settings_get_bool("autocreate_split_windows")) { + signal_emit("gui window create override", 1, + GINT_TO_POINTER(0)); + } window = window_create(item, automatic); } else { /* use existing window */ @@ -321,6 +325,7 @@ void window_items_init(void) { settings_add_bool("lookandfeel", "reuse_unused_windows", FALSE); settings_add_bool("lookandfeel", "autocreate_windows", TRUE); + settings_add_bool("lookandfeel", "autocreate_split_windows", FALSE); settings_add_bool("lookandfeel", "autofocus_new_items", TRUE); signal_add_last("window item changed", (SIGNAL_FUNC) signal_window_item_changed); |