wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 91f324448d37b44e34eec09fbbca83162bdc3d0d
parent 1368f972fc762cac72f0c3d0ef2e9f352e3a4b12
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Thu,  9 Mar 2006 16:23:18 +0100

fixed two label click related things


Diffstat:
cmd/wm/event.c | 1+
rc/wmiirc | 7+------
2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/cmd/wm/event.c b/cmd/wm/event.c @@ -68,6 +68,7 @@ handle_buttonpress(XEvent *e) if(blitz_ispointinrect(ev->x, ev->y, &label[i]->rect)) { snprintf(buf, sizeof(buf), "LB %s %d\n", label[i]->name, ev->button); write_event(buf); + return; } } else if((c = win2clientframe(ev->window))) { diff --git a/rc/wmiirc b/rc/wmiirc @@ -122,12 +122,7 @@ do xwrite /bar/$1/colors $WMII_NORMCOLORS oldtag=$1;; LB) - if wmiir read /tags | awk "\$NF == $1 {exit 1}" - then - : # no tag label - else - xwrite /ctl select $1 - fi;; + xwrite /ctl select $1;; K) case "$1" in $MODKEY-Control-c)