wmii

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

commit b32cb82867a0800caeca2aca2c7bce8d2db89813
parent 3331e7d3ce4221898bda2d441d9c46515f6ed82d
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Wed, 18 Jan 2006 18:03:54 +0200

fixed 'select west' bug in column layout (no round roubin if leftmost col was selected)


Diffstat:
cmd/wm/layout_column.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/cmd/wm/layout_column.c b/cmd/wm/layout_column.c @@ -490,8 +490,10 @@ select_frame(void *obj, char *arg) } else if(!strncmp(arg, "west", 5)) { if(col->prev) cell = col->prev->sel; - else + else { for(c = acme->columns; c && c->next; c = c->next); + cell = c->sel; + } } else if(!strncmp(arg, "east", 5)) { if(col->next) cell = col->next->sel;