diff --git a/src/fe-common/core/windows-layout.c b/src/fe-common/core/windows-layout.c index 56ebcb89..5d53f1ae 100644 --- a/src/fe-common/core/windows-layout.c +++ b/src/fe-common/core/windows-layout.c @@ -117,6 +117,7 @@ static void sig_layout_restore(void) window_set_refnum(window, atoi(node->key)); window->sticky_refnum = config_node_get_bool(node, "sticky_refnum", FALSE); + window->immortal = config_node_get_bool(node, "immortal", FALSE); window_set_name(window, config_node_get_str(node, "name", NULL)); window_set_history(window, config_node_get_str(node, "history_name", NULL)); window_set_level(window, level2bits(config_node_get_str(node, "level", ""))); @@ -171,6 +172,9 @@ static void window_save(WINDOW_REC *window, CONFIG_NODE *node) if (window->sticky_refnum) iconfig_node_set_bool(node, "sticky_refnum", TRUE); + if (window->immortal) + iconfig_node_set_bool(node, "immortal", TRUE); + if (window->name != NULL) iconfig_node_set_str(node, "name", window->name);