On Wed, Apr 09, 2008 at 04:03:44PM +0200, Martin Sander wrote:
> In the last time I repeatedly closed xterm windows on accident by my
> killclient binding (MODKEY|ShiftMask, XK_c) because I did not see that
> the xterm had focus and not that stupid other client that does not
> provide a convenient keyboard shortcut of its own to close.
>
> I always close xterms with Ctrl-D when I want them to close, so I am
> looking for a way to prevent xterm from closing with killclient().
>
> I have already looked for a solution in xterm, but there seems to be
> none. IceWM provides a way to disable the close-button
> (killclient-equivalent in WIMP..) for certain clients, so I thought
> maybe it is easy to do that in dwm, too. I have looked at the source,
> but I don't know anything about X programming and have to admit I don't
> know if I would have to disable the XKillClient or the XSendEvent part
> to do it properly.
>
> Any hints?
Hmm, what about changing the binding to Ctrl-d in your setup
then?
Kind regards,
-- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361Received on Wed Apr 09 2008 - 23:25:59 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:32:44 UTC