Bugfix: Correctly close floating windows (Thanks eeemsi)

next
Michael Stapelberg 2012-12-23 18:51:17 +01:00
parent 3a78d489e6
commit 24aa857a89
1 changed files with 1 additions and 2 deletions

View File

@ -257,8 +257,7 @@ bool tree_close(Con *con, kill_window_t kill_window, bool dont_kill_parent, bool
if (con_is_floating(con)) {
if (con == focused) {
DLOG("This is the focused container, i need to find another one to focus. I start looking at ws = %p\n", ws);
/* go down the focus stack as far as possible */
next = con_next_focused(con);
next = con_next_focused(parent);
dont_kill_parent = true;
DLOG("Alright, focusing %p\n", next);