From 584a6b6b5951b5acd6839baae74c8306fd048fd1 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 28 Sep 2012 17:57:17 +0200 Subject: [PATCH] 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. --- src/tree.c | 1 - 1 file changed, 1 deletion(-) 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 { -- 2.39.5