From 8aa8b17c75ae7d95ea5ab428c3579609a2974f24 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 29 Dec 2008 11:54:10 +0100 Subject: [PATCH] awful.client: do not ignore focused client if filtered in next() Signed-off-by: Julien Danjou --- lib/awful/client.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/client.lua.in b/lib/awful/client.lua.in index c4f8968e1..8961f9c69 100644 --- a/lib/awful/client.lua.in +++ b/lib/awful/client.lua.in @@ -222,7 +222,7 @@ function next(i, c) local fcls = {} -- Remove all non-normal clients for idx, c in ipairs(cls) do - if focus.filter(c) then + if focus.filter(c) or c == sel then table.insert(fcls, c) end end