At 1236797467 time_t, James Pearson wrote: > In awesome 3.1, switching to a tag doesn't give me any windows focused. For > the most part, this doesn't matter too much, but firefox's address bar magic > doesn't work unless the window is focused, and I tend to switch often > between two tags, with one devoted to firefox, while coding. Is there > something for me to change in my rc.lua, or is it something that would have > to be implemented? I'd like to have focus on either the previously-focused > window or the master window.
You miss probably something in your arrange hook. By default it has:
-- Give focus to the latest client in history if no window has focus
-- or if the current window is a desktop or a dock one.
if not client.focus then
local c = awful.client.focus.history.get(screen, 0)
if c then client.focus = c end
end
which does the job.
Cheers,
--
Julien Danjou
// ᐰ <[email protected]> http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
// This is the end of my signature.
signature.asc
Description: Digital signature
