Will you still logout when you have Steam Overlay on?

How long can you go away from keyboard? I have Steam Overlay on my mac and for some reason My friend still got the "idleness" message.