Talk:Rotate Clients
From awesome
Strangely this ist not working when cycling very fast. The focus will not stay in place. I am curious for an explanation.
my workaround is to set the focus to the master area, but it's just a workaround.
awful.key({ modkey, }, "Tab",
function ()
local allclients = awful.client.visible(client.focus.screen)
for i,v in ipairs(allclients) do
allclients[1]:swap(allclients[i])
end
client.focus = awful.client.getmaster()
awful.client.getmaster():raise()
end)