From: Dana Jansens Date: Thu, 26 Apr 2007 03:12:47 +0000 (+0000) Subject: dont parse both keybindings and actions in the same block X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=baa9ad14803fd3019f8da364439dafe9c0e1a9f7;p=chaz%2Fopenbox dont parse both keybindings and actions in the same block --- diff --git a/openbox/config.c b/openbox/config.c index 36ee408c..f8b3fd95 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -289,7 +289,7 @@ static void parse_key(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node, n = parse_find_node("keybind", n->next); } } - if ((n = parse_find_node("action", node->children))) { + else if ((n = parse_find_node("action", node->children))) { while (n) { ObAction *action;