parse filters and actionlists inside an action list correctly
authorDana Jansens <danakj@orodu.net>
Wed, 3 Aug 2011 21:03:11 +0000 (17:03 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 16 Oct 2011 22:55:15 +0000 (18:55 -0400)
openbox/action_parser.c

index 2b328cd1f809f0a599060f29fc7ff217cbfd9366..5809493615ddd1f7b0cc0b10dc6894351f77c71e 100644 (file)
@@ -174,7 +174,7 @@ ObActionList* parse_list(ObActionParser *p, GTokenType end, gboolean *e)
         else if (t == ';') {
             g_scanner_get_next_token(p->scan); /* separator */
         }
-        else if (t == G_TOKEN_IDENTIFIER) {
+        else if (t == G_TOKEN_IDENTIFIER || t == '[' || t == '{') {
             ObActionList *next;
 
             /* parse the next action and stick it on the end of the list */