> 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.

Nope, it's still there.  I haven't changed very much from the default.

On Wed, Mar 11, 2009 at 3:45 PM, Christophe-Marie Duquesne
<[email protected]> wrote:
>
> 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?
I do use stjerm, but killing it off (or booting without starting it at
all) didn't seem to affect it at all.

After a bit of digging, I eventually found that it had to do with my
theme file, strangely enough.  Removing the layout_[foo] for a layout
scheme prevented focus from being restored when using that scheme.
For instance, not having the line
layout_magnifier = /usr/share/awesome/themes/default/layouts/magnifierw.png
means that focus won't be restored to a tag that's using the magnifier
scheme, although it'll work just fine for others.  How odd that not
having a little thumbnail specified would change focus grabbing!

I had an alternate default theme in my home directory that I had
copied from the system-wide one some time ago, and had never bothered
to merge changes into it from the new one the package manager knows
about and updates.  Guess that's what I get for not paying enough
attention.


--
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]

--
To unsubscribe, send mail to [email protected].

Reply via email to