Bugfix: Correctly revert focus to other floating windows when closing a floating window

Uncovered by the testsuite \o/
This commit is contained in:
Michael Stapelberg
2011-09-21 23:28:01 +01:00
parent 67aab7c8bd
commit 4dbda73114
8 changed files with 28 additions and 14 deletions

View File

@ -1021,7 +1021,7 @@ static void con_on_remove_child(Con *con) {
int children = con_num_children(con);
if (children == 0) {
DLOG("Container empty, closing\n");
tree_close(con, DONT_KILL_WINDOW, false);
tree_close(con, DONT_KILL_WINDOW, false, false);
return;
}
}