Revert "raise floating windows when focusing (Thanks Marcos)"
This commit breaks floating window keyboard focus order
(t/135-floating-focus.t) when you have > 2 floating windows. Since
keyboard focus is more important than saving one click to raise floating
windows, I revert the commit.
Note that we cannot implement this without keeping a third list (beneath
floating_windows and focus) for the z coordinate of a floating window.
This seems not worth it.
This reverts commit 064be457e5
.
This commit is contained in:
parent
064be457e5
commit
584a6b6b59
|
@ -529,7 +529,6 @@ static bool _tree_next(Con *con, char way, orientation_t orientation, bool wrap)
|
||||||
if (!next)
|
if (!next)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
floating_raise_con(next);
|
|
||||||
con_focus(con_descend_focused(next));
|
con_focus(con_descend_focused(next));
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue