diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-20 03:35:23 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-20 03:35:23 +0000 |
commit | ffe3f5788f12fe86a1c7bedf3a2672f3b98e5c3e (patch) | |
tree | 3f0fba142b8ce4f3dcf21150f0ccd4b04b0cc737 /src/fe-text | |
parent | a715b8b9abf096392270cfcba1c1d229dadb0bef (diff) | |
download | irssi-ffe3f5788f12fe86a1c7bedf3a2672f3b98e5c3e.zip |
When creating hidden windows in sticky split windows, they should go to the
active split window, not to some other non-sticky window..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2125 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r-- | src/fe-text/gui-windows.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/gui-windows.c b/src/fe-text/gui-windows.c index 4f0a8e48..5b248402 100644 --- a/src/fe-text/gui-windows.c +++ b/src/fe-text/gui-windows.c @@ -88,8 +88,8 @@ static void gui_window_created(WINDOW_REC *window, void *automatic) if (parent->active == NULL) parent->active = window; window->gui_data = gui_window_init(window, parent); - if (settings_get_bool("autostick_split_windows") && - automatic == NULL && (parent->sticky_windows || empty_window)) + if ((automatic == NULL && parent->sticky_windows) || + (empty_window && settings_get_bool("autostick_split_windows"))) gui_window_set_sticky(window); signal_emit("gui window created", 1, window); |