THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#736 - Sticky client systematically  gets focus upon tag switching, 
regardless of focus history
User who did this - anrxc (anrxc)

----------
You did not test properly. This does not happen when awful.autofocus is not 
used, not when the sticky window did not have focus prior to a tag switch. It 
is the autofocus that gives it the focus.

The first condition of the focus checking says: if not client.focus ... and then proceeds to call awful.client.focus.history.get with index 0 - which is always the sticky client;
You are on tag 1 with two clients, you set client A as sticky, then focus 
client B and switch to tag 2 where client C had focus previously - this time 
client A is focused. In the moment client A was set sticky all tags were 
attached to it and automatically it became the last client with focus for all 
those tags. There could be another condition that could take away the focus 
from it and give it to the previous focused client, but;

If client A is sticky for a long time in which you switched many tags on some 
of those tags you will leave it as the last focused client, and you will want 
the focus returned to it, and that complicates the condition.
----------

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=736#comment1789

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

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

Reply via email to