Matthew at

>> JanKusanagi @ DM:

“File > Exit should never minimize to tray...

But for the record, pressing the window's close button, pressing alt+f4 (or whatever shortcut your WM uses), and right-clicking a taskmanager's button and selecting "close" are equivalent actions, by which I mean, the program is receiving the exact same input.”

This is true, but I've used a few programs that re-bound the key shortcuts and did similar silliness.