Where does “cap over the windmill” come from?
cap over the windmill (English) comes from English throw one's cap over the windmill — To act in a crazed manner.
cap over the windmill (English): in a crazed manner
Ancestry of “cap over the windmill”, step by step