From: Mikael Magnusson Date: Thu, 6 Mar 2008 19:02:26 +0000 (+0100) Subject: Don't run actions in focus cycling actions backwards either (as in 664b0b4e943ba4d410... X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=617effd275a7c998d9bea686bc1a33240fd16704;p=chaz%2Fopenbox Don't run actions in focus cycling actions backwards either (as in 664b0b4e943ba4d410168817dcff953804b44253). --- 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); } }