From 6edcbb47d23ebe26bee4f3d86e3d9e74fc2c7242 Mon Sep 17 00:00:00 2001 From: Quan Guo Date: Wed, 13 Jul 2016 20:32:46 +0200 Subject: [PATCH] Try to fix #27 again and again --- init.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 1ac9fa1..8f5605d 100644 --- a/init.lua +++ b/init.lua @@ -153,8 +153,7 @@ local function match_clients(rule, _clients, t, is_excluded) end toggle_tag_func(t, c) if c:isvisible() then - table.insert(clients, c) - end + table.insert(clients, c) end end end @@ -370,9 +369,9 @@ function revelation.expose_callback(t, zt, clientlist) local c if type(awful.client.object) == 'table' then - c = awful.mouse.client_under_pointer() - else c = capi.mouse.current_client + else + c = awful.mouse.client_under_pointer() end local key_char = awful.util.table.hasitem(hintindex, c) if mouse.buttons[1] == true then