[dev] [st] Handling of WM_DELETE_WINDOW atom

2012-02-03 Thread Ivan Kanakarakis
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 *
*
*


Re: [dev] interested in issue tracker dev

2012-02-03 Thread Aurélien Aptel
So, how are things going? I guess setting up an existing BTS on
suckless.org while waiting is out of the question?
I'm already using some sort of TODO/XXX in comment but it could be better...

For what it's worth, here's my usecase/design/whatever. I don't need much:
- basic interface (cli, mail, http, ...) really don't care as long as
it's usable and not too complex
- title, description, status, comments
- *every* field above should be editable



Re: [dev] [st] Handling of WM_DELETE_WINDOW atom

2012-02-03 Thread Kurt H Maier
On Fri, Feb 03, 2012 at 04:26:05PM +0200, Ivan Kanakarakis wrote:
 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

The ICCCM part is about clients with multiple top-level windows, which
st isn't, and ewmh sucks.