wmii

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

commit 4107896be947e93ea6628f7f3bb640c0748b234f
parent 7617c47f52d4e297dfc9d8e0ab24edd209966edc
Author: Kris Maglione <jg@suckless.org>
Date:   Mon, 27 Oct 2008 22:37:36 -0400

Update NEWS

Diffstat:
NEWS | 8+++++++-
cmd/wmii/mouse.c | 7+------
rc/rc.wmii.rc | 2+-
3 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/NEWS b/NEWS @@ -1,3 +1,10 @@ + + * Add ‘Kill’ to client right-click menu + * wmii9menu now takes similar args to wimenu + * Document grow/nudge commands. + * Add wimenu with history and caret support + * Xinerama support + 2008-08-25: * libixp version 97 now required * Stack and max modes now affect floating clients: @@ -6,4 +13,3 @@ - stack: All clients but selected are collapsed. * Adobe's Flash plugin's fullscreen mode now works. * Some annoying focus bugs are fixed. - diff --git a/cmd/wmii/mouse.c b/cmd/wmii/mouse.c @@ -230,12 +230,7 @@ mouse_resizecolframe(Frame *f, Align align) { min.x = Dx(v->r[a->screen])/NCOL; min.y = /*frame_delta_h() +*/ labelh(def.font); - /* This would be so simple in lisp... */ - /* This must be evil. But, I hate to repeat myself. */ - /* And I hate to see patterns. */ - /* At any rate, set the limits of where this box may be - * dragged. - */ + /* Set the limits of where this box may be dragged. */ #define frob(pred, f, aprev, rmin, rmax, plus, minus, xy) BLOCK( \ if(pred) { \ r.rmin.xy = f->aprev->r.rmin.xy plus min.xy; \ diff --git a/rc/rc.wmii.rc b/rc/rc.wmii.rc @@ -161,7 +161,7 @@ echo $wmiinormcol | wmiir create $noticebar _keys = `{wi_getfuns Key} fn key { key=() - for(k) if(! ~ $_keys $k) key = ($key Key-$k) + for(k) if(! ~ $k $_keys) key = ($key Key-$k) ~ $#key 0} # This is... ugly.