Nope, I was wrong, that setting doesn't affect it. Seems it's purely time based (the few seconds you mentioned before that I must have accidentally skipped over reading, I'm very sorry for missing that). If I'm too slow to alt-tab into the other program then even just using the alt-tab shortcut itself will disable the /afk status.