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

@ -789,7 +789,7 @@ void randr_query_outputs() {
}
DLOG("destroying disappearing con %p\n", output->con);
tree_close(output->con, DONT_KILL_WINDOW, true);
tree_close(output->con, DONT_KILL_WINDOW, true, false);
DLOG("Done. Should be fine now\n");
output->con = NULL;
}