To bang one's head against the desk in frustration; (by extension) to express annoyance or exasperation.
Used to express frustration or irritated disbelief, from the tendency of annoyed or irritated people to want to repeatedly bang their heads against their desk.