From: Dana Jansens Date: Wed, 3 Aug 2011 21:03:11 +0000 (-0400) Subject: parse filters and actionlists inside an action list correctly X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=da9d12e226a5e4d34ca98f867d7f42b46a24ee2e;p=dana%2Fopenbox.git parse filters and actionlists inside an action list correctly --- diff --git a/openbox/action_parser.c b/openbox/action_parser.c index 2b328cd1..58094936 100644 --- a/openbox/action_parser.c +++ b/openbox/action_parser.c @@ -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 */