-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am 06.11.2010 12:14, Stefano Zacchiroli wrote:
> Some more info that can be useful: I'm able to focus the panel by
> clicking on it (or on some of its widgets of course), but I'm not able
> to focus it neither via mouse-over/sloppy-focus, nor via Mod4-Tab.

Click-to-focus is done by this entry in the default rc.lua (this is the version
from git/master, the 3.4 version should be similar):

 awful.button({ }, 1, function (c) client.focus = c; c:raise() end),

sloppy focus on the other hand does this:

 c:connect_signal("mouse::enter", function(c)
    if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier
        and awful.client.focus.filter(c) then
        client.focus = c
    end
 end)

As you see, the later one uses focus.filter while click-to-focus doesn't.
I'm pretty sure that sth like this for the click-to-focus button would fix this
issue for you:

 awful.button({ }, 1, function (c)
     if awful.client.focus.filter(c) then
        client.focus = c
        c:raise()
     end
  end),

Now the only question that remains is whether this should be changed in the
default config...

Cheers,
Uli
- -- 
- - Buck, when, exactly, did you lose your mind?
- - Three months ago. I woke up one morning married to a pineapple.
  An ugly pineapple... But I loved her
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBCAAGBQJM1T3KAAoJECLkKOvLj8sGTvYH/1Qy/fIcTV1Wj96XHSYt1hcq
rGGBpSYcYVCpf6AHCvSIpd3rB0qNKu2N4sxZsvsbql718rrbRSTEtkSQN2YgdMrf
bNMgBcMVS8BzuH51HsJ/qDYgE9JfzdZuydZYeHVlsF8SsMYhg6hINtQGNCGYL3mX
FOJZe0yBCBjA+Wh5FMTsmH9wSUW9xSQNnEr0c1ln0HtkJrVrSpNr9x5lwj6TzZUU
GuThBIhp4hU/1d1Xc4C/Ox9sAlbuXU5srGwxWPYpUtPhJVQWQe8cea6ROQmnCoCk
0rRCxQbChjzP7vmycmeMSNL1c00wcFO1kPLZOAcj4M3po0RWBZER/sb0uWy/9VI=
=UAPS
-----END PGP SIGNATURE-----

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

Reply via email to