display swallows criteria in placeholder windows

This commit is contained in:
Michael Stapelberg
2013-12-15 11:25:58 +01:00
parent 3a4ad9b330
commit 076636a835
6 changed files with 46 additions and 11 deletions

View File

@ -158,7 +158,7 @@ static int json_string(void *ctx, const unsigned char *val, unsigned int len) {
} else if (strcasecmp(last_key, "instance") == 0) {
current_swallow->instance = regex_new(sval);
} else if (strcasecmp(last_key, "window_role") == 0) {
current_swallow->role = regex_new(sval);
current_swallow->window_role = regex_new(sval);
} else if (strcasecmp(last_key, "title") == 0) {
current_swallow->title = regex_new(sval);
} else {