Re: [dwm] Closing windows without closing the whole program

From: Marco Squarcina <lavish_AT_gmail.com>
Date: Sat, 5 Aug 2006 14:42:26 +0200

On Sat, Aug 05, 2006 at 01:42:19PM +0200, Anselm R. Garbe wrote:
> Mod1-Shift-c supports the delete flag of WM_PROTOCOLS to nicely
> ask apps to close a window. If I close an arbitrary firefox
> window with this shortcut, it doesn't closes other windows of
> that process.

As I told you on IRC, I am not able to close a single instance of a
running applications with dwm. If I open 2 firefox clients and I close
one, both of them are killed.
This doesn't happen on wmii-4 (latest hg tip)

I'm using a very recent hg tip for dwm, anyway, this is the killclient
function on my sources:

killclient(Arg *arg)
{
        if(!sel)
                return;
        if(sel->proto & PROTODELWIN)
                sendevent(sel->win, wmatom[WMProtocols],
wmatom[WMDelete]);
        else
                XKillClient(dpy, sel->win);
}

Thanks,

-- 
Marco Squarcina >|<  www.minimalblue.com >|< GPG key: 6E47BFC5
Received on Sat Aug 05 2006 - 14:38:29 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:29:58 UTC