Re: Fwd: Re: [dwm] Re: [wmii] Re: layout per tag.

From: Ross Mohn <rpmohn_AT_waxandwane.org>
Date: Fri, 11 Aug 2006 13:21:17 -0400

> > Hah, it was so easy to implement (-23+54==31 more lines of
> > code), that I already pushed it. Things might be done cleaner,
> > but I'll decide later if that is a good idea... I leave now
> > into the weekend, bb on monday!
>
> One remark, I already like this feature, because it allows to
> see my browser without moving away my clients I currently work
> on... just for a fast glance. A shortcut might be good as well,
> we'll see. We need a viewmore() beside current view() I expect.

OK, I love this feature! How about making Button3 a toggle:

diff -u event.000.c event.c
--- event.000.c 2006-08-11 13:03:10.000000000 -0400
+++ event.c 2006-08-11 13:17:07.000000000 -0400
@@ -109,7 +109,7 @@
        x += textw(tags[a.i]);
        if(ev->x < x) {
                if(ev->button == Button3) {
- tsel[a.i] = True;
+ tsel[a.i] = tsel[a.i] ? False : True;
                        arrange(NULL);
                        drawall();
                }
Received on Fri Aug 11 2006 - 19:21:20 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:06 UTC