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

Uli Schlachter wrote:
> Uli Schlachter wrote:
> 
>> Today I noticed that when I switch between two tags on screen 2, the input 
>> focus
>> "jumps" to tag 1, which is annoying.
> 
> My awesome just crashed (different bug) and since then this bug doesnt seem to
> happen anymore. But via the urxvt cursor I can see that the client on the 
> first
> client still gets the input focus for a moment....

I found out what happens. If I use the mouse to click on my taglist, then this
code is executed:

 awful.button({ }, 1, awful.tag.viewonly),

When I switch via a keyboard combo, this code is executed instead:

 -- Switch to tag
 addkey({ modkey }, i, function ()
     tags.view.only(i)
 end)

Where tags.view.only(i) does this:

 awful.tag.viewonly(tag, screen)
 -- Make sure some client on that tag gets the focus
 local c = awful.client.focus.history.get(tag.screen, 0)
 if c then
      client.focus = c
 end

This also explains the "flicker" I saw in my last mail.

So, is this a real bug that I should report to the tracker? Why am I the only
one who sees this?
This breaks the client history (again) or did I miss something?

Uli
- --
"Do you know that books smell like nutmeg or some spice from a foreign land?"
                                                  -- Faber in Fahrenheit 451
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBCAAGBQJLBt93AAoJECLkKOvLj8sGxZMH/R4OO3RRgluy7QiaZAmHFAoX
8P3zchpwptFXNeKjofc4vH23FBkNGHpJtPuiQ5JLwGwdA5401JQxj0tS2PdW99RG
HaivkN6mKvtmLT3mqn68W+7sAFUf31LP/x3T+QR+6JuaRtlV2wjcT7STk/Xm9Hf7
yCjGzIp8UinXeNi0JixoNp5g+gn8sDFS1WTyL94FKfTDpQdeh3dVOmjexrBQmtzk
8jMYWIZksGtfStxglvtbWhpgc4NcyMhftjsf1/yMRQOpjxvrkNZMGf8KVUI7LKx/
NxiWRc+1+txJbLSgjYz3FeQeMtOZ8RX6rVcqKjFS71Ea2yYUedIlWsChGS36HRM=
=UGyw
-----END PGP SIGNATURE-----

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

Reply via email to