What Does It Mean?

You are correct!

From our dictionary:
en•nui

(än•wE', än'wE; Fr. äN•nwE'),
n.
a feeling of utter weariness and discontent resulting from satiety or lack of interest; boredom: The endless lecture produced an unbearable ennui.