Bugfix: Close containers which are empty due to a move (Thanks fernando)

This commit is contained in:
Michael Stapelberg
2010-11-13 14:55:11 +01:00
parent 4aef09ab34
commit dc10c67060
5 changed files with 48 additions and 8 deletions

View File

@ -75,6 +75,12 @@ Con *con_by_frame_id(xcb_window_t frame);
*/
Con *con_for_window(i3Window *window, Match **store_match);
/**
* Returns the number of children of this container.
*
*/
int con_num_children(Con *con);
/**
* Attaches the given container to the given parent. This happens when moving
* a container or when inserting a new container at a specific place in the