layout restoring: append at the nearest split container (or workspace) (Thanks chris)

Before this commit, leaf containers (such as terminal emulators) would
get children appended, which is not intended.

fixes #1223
This commit is contained in:
Michael Stapelberg
2014-04-18 20:30:27 +02:00
parent 702906d0cf
commit 524f20b8a0
4 changed files with 14 additions and 6 deletions

View File

@ -10,4 +10,4 @@
*/
#pragma once
void tree_append_json(const char *filename, char **errormsg);
void tree_append_json(Con *con, const char *filename, char **errormsg);