I am using two monitors and I wish to switch tags on both monitors, so I am using this for the tag switching function:
for screen = 1, screen.count() do local tag = awful.tag.gettags(screen)[i] if tag then awful.tag.viewonly(tag) end end The problem is that all the time when I switch between tags, I lose window focus if it was on the first screen. How can I fix that? Best Regards, Viacheslav