Hi people, It seems st won't terminate itself when WM_DELETE_WINDOW is sent by a wm. You can observe that behavior when spawning st from another terminal and then sending an event - XSendEvent() - with the WM_DELETE_WINDOW atom as data.
Dwm - the killclient() function - "works around" that, by checking if the client supports such an atom handling, and if not it kills the client - XKillClient(dpy, window). Although the "work around" might be the right thing for such clients, I believe this should be fixed in st, and on receival of such message it should gracefully terminate. Here [0] is what icccm says about deleting widows, and here [1] [2] is what ewmh says about closing windows in case you're looking into the standards. [0]: http://tronche.com/gui/x/icccm/sec-4.html#s-4.2.8.1 [1]: http://standards.freedesktop.org/wm-spec/1.3/ar01s04.html#id3076012 [2]: http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html#id3076744 Thanks, -- *Ivan c00kiemon5ter V Kanakarakis * * *