On Sat, Dec 22, 2007 at 04:18:02PM +0300, Stanislav wrote:
> Anselm R. Garbe пишет:
> >On Fri, Dec 21, 2007 at 11:39:18PM +0300, Stanislav wrote:
> >
> >You are looking for sel->snext during killclient.
> >
> >Regards,
>
> sel->next work for me! Thanx :)
> How can I get the same with config.h ?
If you really want depend on sel->next, focusnext() is your
friend from config.h. If you want to depend on snext you will
need to implement a function.
> diff -ur dwm-4.7/dwm.c dwm-4.7_gin/dwm.c
> --- dwm-4.7/dwm.c 2007-11-21 23:18:41.000000000 +0300
> +++ dwm-4.7_gin/dwm.c 2007-12-22 15:53:43.000000000 +0300
> @@ -988,6 +988,7 @@
> }
> else
> XKillClient(dpy, sel->win);
> + focus(sel->next);
> }
Keep in mind that sel->next might be NULL or a client which is
invisible (though focus() handles those cases).
Regards,
-- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361Received on Sat Dec 22 2007 - 15:35:38 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:13:57 UTC