what does it mean when someone pats your head?
The reason that he patted you on the head might actually have been due to dominating behavior. When a person is trying to make other people around them be submissive the person would often touch the other people that they are with.