diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-26 02:12:40 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-26 02:12:40 +0000 |
| commit | a65b1d202f11a0e1e87b9343a9a620321e84f6cf (patch) | |
| tree | fcdee97085d09805c0763ecce9ba9f479b6321b9 /openbox | |
| parent | 8c68c9ab0f75514ee4f0336e566ac2c02ac20b65 (diff) | |
allow actions and chains at the same level
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/config.c b/openbox/config.c index 2ed6921e..36ee408c 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -283,13 +283,13 @@ static void parse_key(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, keylist = g_list_append(keylist, key); - /* a node either contains actions or key bindings */ if ((n = parse_find_node("keybind", node->children))) { while (n) { parse_key(i, doc, n, keylist); n = parse_find_node("keybind", n->next); } - } else if ((n = parse_find_node("action", node->children))) { + } + if ((n = parse_find_node("action", node->children))) { while (n) { ObAction *action; |
