Well done. I had the same type of talk with my H last weekend. On reflection I think it was a positive interaction just as yours was.
Although I was worried about it at the time H has come back to visit the kids and was courteous and pleasant with me. His depression has made him become distant but that had started before our discussion.