Anselm R. Garbe пишет:
> 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,
focusnext() is really what I want. Thank you.
Received on Sat Dec 22 2007 - 20:36:34 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:13:59 UTC