Or do you use something like gnome-panel? I had this issue, before totally switching to awesome (though actually, it was not that no client was focused, it was that gnome-panel was stealing the focus each time). This was fixed, but maybe it has been broken?
On Wed, Mar 11, 2009 at 7:57 PM, Michael Mrozek <[email protected]>wrote: > 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. > > -- > James Pearson > -- > The best way to predict the future is to invent it. > - Alan Kay > -- > GCS/MU d- s+:- a--- C++(++++)>$ ULC+(++)>$ P(+) L+++>++++$ !E W++(+++)$>$ > N+(++) o? K-- w--- O? M--(+) V? PS+(--) PE++() Y+(++) PGP- !t !5 !X R- > tv-(--) b+>+++ DI+(++) D G e>++ h- r y- [http://tinyurl.com/23uv8t] > > > Are you getting that behavior with the default configuration? The default > config has this snippet in the arrange hook to focus the last window focused > when the tag is switched: > > -- 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 > > > -- Christophe-Marie Duquesne
