Move title_format from window to container.
This patch moves the title_format information from windows to containers. Furthermore, it allows correctly setting it on window-less containers and displays the title accordingly for split containers. We now also dump and read title_format in GET_TREE / during restarts. fixes #2120
This commit is contained in:
@ -433,3 +433,9 @@ char *con_get_tree_representation(Con *con);
|
||||
*
|
||||
*/
|
||||
void con_force_split_parents_redraw(Con *con);
|
||||
|
||||
/**
|
||||
* Returns the window title considering the current title format.
|
||||
*
|
||||
*/
|
||||
i3String *con_parse_title_format(Con *con);
|
||||
|
Reference in New Issue
Block a user