Bugfix: Correctly close floating windows (Thanks eeemsi)
This commit is contained in:
parent
3a78d489e6
commit
24aa857a89
|
@ -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_is_floating(con)) {
|
||||||
if (con == focused) {
|
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);
|
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(parent);
|
||||||
next = con_next_focused(con);
|
|
||||||
|
|
||||||
dont_kill_parent = true;
|
dont_kill_parent = true;
|
||||||
DLOG("Alright, focusing %p\n", next);
|
DLOG("Alright, focusing %p\n", next);
|
||||||
|
|
Loading…
Reference in New Issue