![JanKusanagi](https://datamost.com/uploads/jankusanagi/2016/12/22/pbcLfA.png)
JanKusanagi at
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.