-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Am 12.10.2010 23:44, Yury Bulka wrote:
> Hello,
> First of all, let me thank all people developing and supporting awesome.
> Really a good software. And here's my question: how can I instruct awesome to
> automatically assign focus to the window appearing under mouse when I switch
> between tags?
> Thanks in advance,
> All best,
> Yury.
tag.connect_signal("property::selected", function() local c =
mouse.object_under_pointer() if c.name then client.focus = c end)
Untested, of course. Also, I'm not sure if this actually works on the 3.4
branch. Perhaps it's necessary to bind this on every single tag instead of the
tag class, so perhaps:
awful.tag.attached_connect_signal(nil, function() local c =
mouse.object_under_pointer() if c.name then client.focus = c end)
Uli
who hopes someone else will make this work
- --
- - 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)
iQEcBAEBCAAGBQJMthihAAoJECLkKOvLj8sGqFsH/3MbtcOwf6bLv15jHqf3v7hm
FfNRq4R7g1NIXCs5jqkDX4XdK0gKMUlI28AgWnKXMM7CaPmI3Ollreeg0dXv9LsS
SlKoyvfYEpll6nUisgmc7qEG7G17Ul0LV7xmbowHCbqzzGWga1RX9X0XZLK8ewrD
DEH+ShCKiZ38wnq4ZUhzYRZFkYqyqRJ1gVq4OUcZG1CfrXVrbAQqUKpSPopzx4Ri
1sfu+n9c5X6g6VoqIh1zVbaGowCOv0n1Kz0RPts4OIBmk4GJZ+cykY2pPohgVEjt
BtwaopIx3C0dn37U+ZoqLUG1ACGd0fZdcSk2a//5tnXie0LlQxe2+x/2t0ILxmo=
=0k74
-----END PGP SIGNATURE-----
--
To unsubscribe, send mail to [email protected].