projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c68c9a
)
allow actions and chains at the same level
author
Dana Jansens
<danakj@orodu.net>
Thu, 26 Apr 2007 02:12:40 +0000
(
02:12
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 26 Apr 2007 02:12:40 +0000
(
02:12
+0000)
openbox/config.c
patch
|
blob
|
history
diff --git
a/openbox/config.c
b/openbox/config.c
index
2ed6921
..
36ee408
100644
(file)
--- 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;