frame of mind
frame of mind {n. phr.}
One's mental outlook; the state of one's psychological condition,
There is no use trying to talk to him while he is in such a negative frame of mind.
Categories:
Source: A Dictionary of American Idioms