]> git.sur5r.net Git - i3/i3/commitdiff
Revert "raise floating windows when focusing (Thanks Marcos)"
authorMichael Stapelberg <michael@stapelberg.de>
Fri, 28 Sep 2012 15:57:17 +0000 (17:57 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Fri, 28 Sep 2012 15:57:17 +0000 (17:57 +0200)
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 064be457e59603e1d4a4b45b4bf138dcc231a849.

src/tree.c

index 657c8bfa757d8fbd1ed663defb705ba31b60cffc..3d598d50ab8014410ad9a5c38eb956564f98cd6a 100644 (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 {