From: Michael Stapelberg Date: Fri, 28 Sep 2012 15:57:17 +0000 (+0200) Subject: Revert "raise floating windows when focusing (Thanks Marcos)" X-Git-Tag: 4.4~102 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=584a6b6b5951b5acd6839baae74c8306fd048fd1;p=i3%2Fi3 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 064be457e59603e1d4a4b45b4bf138dcc231a849. --- diff --git a/src/tree.c b/src/tree.c index 657c8bfa..3d598d50 100644 --- a/src/tree.c +++ b/src/tree.c @@ -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 {