What does it mean when a guy sways while hugging you?

I have this guy friend. I went to see him at work, after I got out of work. We went outside to talk, since he was taking a quick break. We were having a really good conversation and he was smiling and seemed really happy to see me. He kept sticking his hands in his pockets and was really chatty with me. After a while he had to go back in. And I had to leave. He asked me if I needed a hug and I said yes. He hardly ever gives hugs. But when he hugged me he also swayed. And told me it was nice seeing you again. What does it mean when a guy sways when he hugs you?
What does it mean when a guy sways while hugging you?
Post Opinion