wmii

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

commit eb09a51b8bc39159abf4c7ec0ae5ea7cbc44a64e
parent 7554bdac05f74882942b9d404556edb67092b66c
Author: uriel <uriel@baka>
Date:   Thu, 15 Dec 2005 12:38:22 +0100

Make next/prev iterate over all cols, north/south iterate inside single col


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

diff --git a/cmd/wm/layout_column.c b/cmd/wm/layout_column.c @@ -362,8 +362,12 @@ static void select_frame(void *obj, char *arg) if (!f || !arg) return; if (!strncmp(arg, "prev", 5)) - f = cext_list_get_prev_item(&col->frames, f); + f = cext_list_get_prev_item(&acme->frames, f); else if (!strncmp(arg, "next", 5)) + f = cext_list_get_next_item(&acme->frames, f); + else if (!strncmp(arg, "north", 6)) + f = cext_list_get_next_item(&col->frames, f); + else if (!strncmp(arg, "south", 6)) f = cext_list_get_next_item(&col->frames, f); else if (!strncmp(arg, "west", 5)) { col = cext_list_get_prev_item(&acme->columns, col);