From cd28b2357bfe7e4549c1c6965b43622ab30a0763 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 8 Mar 2008 17:02:28 +0100 Subject: [PATCH] [awesome-menu] Make completion cyclic --- awesome-menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awesome-menu.c b/awesome-menu.c index e26b47108..cd06bbbd0 100644 --- a/awesome-menu.c +++ b/awesome-menu.c @@ -229,10 +229,10 @@ static void complete(Bool reverse) { item_t *item = NULL; - item_t *(*item_iter)(item_t **, item_t *) = item_list_next; + item_t *(*item_iter)(item_t **, item_t *) = item_list_next_cycle; if(reverse) - item_iter = item_list_prev; + item_iter = item_list_prev_cycle; if(globalconf.item_selected) item = item_iter(&globalconf.items, globalconf.item_selected);