Re: [wmii] feature request: ClientClose event

From: Denis Grelich <denis_AT_grelich.de>
Date: Thu, 17 Aug 2006 19:42:01 +0200

On Thu, 17 Aug 2006 18:56:55 +0200
"Anselm R. Garbe" <arg_AT_10kloc.org> wrote:

> On Thu, Aug 17, 2006 at 04:32:33PM +0200, Adam Ritter wrote:
> > It would be nice if a script could be notified if a client is
> > closed. It would be easy to remember kill commands, but if the user
> > closes the window the script won't be notified. I.e. if I create a
> > key for focusing the ncmpc window and optionally creating a client,
> > after the client is closed, it won't create an ncmpc client again
> > (the script could always check if it is the right client, but that
> > has limitations).
>
> Why not writing a wrapper script for the kill command? You could
> check the client's props (class:inst) and decide what todo,
> before writing kill. I see no need for the event you request.

A kill command is not the only way to close a client/destroy a window,
isn't it.

Received on Thu Aug 17 2006 - 19:42:11 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:12:59 UTC