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:
Michael Stapelberg 2012-09-28 17:57:17 +02:00
parent 064be457e5
commit 584a6b6b59
1 changed files with 0 additions and 1 deletions

View File

@ -529,7 +529,6 @@ static bool _tree_next(Con *con, char way, orientation_t orientation, bool wrap)
if (!next)
return false;
floating_raise_con(next);
con_focus(con_descend_focused(next));
return true;
} else {