diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2008-03-02 19:41:32 +0100 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2008-03-02 19:41:32 +0100 |
| commit | 9676757a08b3e2e508c47f7795326bda8e54dc53 (patch) | |
| tree | fe390424216d8d3db2f95d50b61adc44262f0658 /openbox/actions | |
| parent | feec8f663f0a11546c2da87575fecc8a88d97ca1 (diff) | |
| parent | e4691468cd291a6bd2b489e90eca2be78b8d0c51 (diff) | |
Merge branch 'backport' into work
Conflicts:
openbox/actions/desktop.c
openbox/actions/if.c
Diffstat (limited to 'openbox/actions')
| -rw-r--r-- | openbox/actions/desktop.c | 2 | ||||
| -rw-r--r-- | openbox/actions/if.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openbox/actions/desktop.c b/openbox/actions/desktop.c index 37268bba..d5535f6c 100644 --- a/openbox/actions/desktop.c +++ b/openbox/actions/desktop.c @@ -86,7 +86,7 @@ static gpointer setup_go_func(xmlNodePtr node) } else { o->type = ABSOLUTE; - o->abs.desktop = obt_parse_node_int(n) - 1; + o->abs.desktop = atoi(s) - 1; } g_free(s); } diff --git a/openbox/actions/if.c b/openbox/actions/if.c index 63a7fbcd..833bdd3a 100644 --- a/openbox/actions/if.c +++ b/openbox/actions/if.c @@ -82,7 +82,7 @@ static gpointer setup_func(xmlNodePtr node) m = obt_parse_find_node(n->children, "action"); while (m) { ObActionsAct *action = actions_parse(m); - if (action) o->thenacts = g_slist_prepend(o->thenacts, action); + if (action) o->thenacts = g_slist_append(o->thenacts, action); m = obt_parse_find_node(m->next, "action"); } } @@ -92,7 +92,7 @@ static gpointer setup_func(xmlNodePtr node) m = obt_parse_find_node(n->children, "action"); while (m) { ObActionsAct *action = actions_parse(m); - if (action) o->elseacts = g_slist_prepend(o->elseacts, action); + if (action) o->elseacts = g_slist_append(o->elseacts, action); m = obt_parse_find_node(m->next, "action"); } } |
