Question: whom for non living things?
Answer: Actually it's a strange case to use the form of who, which is whose when we talk about inanimate or nonliving objects. But since modern English doesn't have different possessive pronoun for nonliving beings, we can use whose for both people and objects.