forked from PsychoticNinja/irssi
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
This commit is contained in:
parent
a715b8b9ab
commit
ffe3f5788f
@ -88,8 +88,8 @@ static void gui_window_created(WINDOW_REC *window, void *automatic)
|
|||||||
if (parent->active == NULL) parent->active = window;
|
if (parent->active == NULL) parent->active = window;
|
||||||
window->gui_data = gui_window_init(window, parent);
|
window->gui_data = gui_window_init(window, parent);
|
||||||
|
|
||||||
if (settings_get_bool("autostick_split_windows") &&
|
if ((automatic == NULL && parent->sticky_windows) ||
|
||||||
automatic == NULL && (parent->sticky_windows || empty_window))
|
(empty_window && settings_get_bool("autostick_split_windows")))
|
||||||
gui_window_set_sticky(window);
|
gui_window_set_sticky(window);
|
||||||
|
|
||||||
signal_emit("gui window created", 1, window);
|
signal_emit("gui window created", 1, window);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user