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

@ -457,7 +457,7 @@ static int handle_unmap_notify_event(xcb_unmap_notify_event_t *event) {
return 1;
}
tree_close(con, DONT_KILL_WINDOW, false);
tree_close(con, DONT_KILL_WINDOW, false, false);
tree_render();
x_push_changes(croot);
return 1;