From 617effd275a7c998d9bea686bc1a33240fd16704 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 6 Mar 2008 20:02:26 +0100 Subject: [PATCH] Don't run actions in focus cycling actions backwards either (as in 664b0b4e943ba4d410168817dcff953804b44253). --- openbox/actions/cyclewindows.c | 2 +- openbox/actions/directionalwindows.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openbox/actions/cyclewindows.c b/openbox/actions/cyclewindows.c index cb341af7..6fba17ff 100644 --- a/openbox/actions/cyclewindows.c +++ b/openbox/actions/cyclewindows.c @@ -73,7 +73,7 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node) m = parse_find_node("action", n->xmlChildrenNode); while (m) { ObActionsAct *action = actions_parse(i, doc, m); - if (action) o->actions = g_slist_prepend(o->actions, action); + if (action) o->actions = g_slist_append(o->actions, action); m = parse_find_node("action", m->next); } } diff --git a/openbox/actions/directionalwindows.c b/openbox/actions/directionalwindows.c index 55c9e606..d9f24d61 100644 --- a/openbox/actions/directionalwindows.c +++ b/openbox/actions/directionalwindows.c @@ -93,7 +93,7 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node) m = parse_find_node("action", n->xmlChildrenNode); while (m) { ObActionsAct *action = actions_parse(i, doc, m); - if (action) o->actions = g_slist_prepend(o->actions, action); + if (action) o->actions = g_slist_append(o->actions, action); m = parse_find_node("action", m->next); } }