awful.client: do not ignore focused client if filtered in next()

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-12-29 11:54:10 +01:00
parent adc91aa37a
commit 8aa8b17c75
1 changed files with 1 additions and 1 deletions

View File

@ -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