Re: [dwm] Yet another simplification, this time sel/prevtags

From: yy <yiyu.jgl_AT_gmail.com>
Date: Sun, 27 Apr 2008 20:33:40 +0200

2008/4/27 Anselm R. Garbe <arg_AT_suckless.org>:
> On Sun, Apr 27, 2008 at 07:41:08PM +0200, Anselm R. Garbe wrote:
> > On Sun, Apr 20, 2008 at 10:24:32PM +0200, Premysl Hruby wrote:
> > > void
> > > view(const char *arg) {
> > > seltags ^= 1;
> > > memset(tagset[seltag], (NULL == arg), TAGSZ);
> > > tagset[seltag][idxoftag(arg)] = True;
> > > arrange();
> > > }
> >
> > I simplified view() accordingly.
>
> With the current change in mind, do we still need viewprev()?
>
> Kind regards,
>
>
> --
> Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
>
>

After the last change in hg tip, viewprev is the only way to view the
previous tags, the change when trying to view the currently selected
tag is not working any more, if you remove viewprev you can then
remove all the tagset stuff. Another thing, now if you press twice in
a tag to view it you will lose your previous tags, I don't think
that's the expected behavior.

-- 
- yiyus || JGL .
Received on Sun Apr 27 2008 - 20:33:41 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:35:52 UTC