From 7b6dc4aecb25e4fa9e96b7dd8bac67d0021f9eee Mon Sep 17 00:00:00 2001 From: grenzionky Date: Thu, 12 Sep 2019 20:58:44 -0400 Subject: [PATCH] make it work across all tags --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index 37dffce..b94400d 100644 --- a/init.lua +++ b/init.lua @@ -498,8 +498,10 @@ function _M.switch(dir, mod_key1, release_key, mod_key2, key_switch) -- raise chosen client on top of all c = _M.altTabTable[_M.altTabIndex].client c:raise() + c.first_tag:view_only() client.focus = c + -- restore minimized clients for i = 1, #_M.altTabTable do if i ~= _M.altTabIndex and _M.altTabTable[i].minimized then