match->application == NULL &&
match->class == NULL &&
match->instance == NULL &&
- match->role == NULL &&
+ match->window_role == NULL &&
match->urgent == U_DONTCHECK &&
match->id == XCB_NONE &&
match->con_id == NULL &&
DUPLICATE_REGEX(application);
DUPLICATE_REGEX(class);
DUPLICATE_REGEX(instance);
- DUPLICATE_REGEX(role);
+ DUPLICATE_REGEX(window_role);
}
/*
}
}
- if (match->role != NULL) {
+ if (match->window_role != NULL) {
if (window->role != NULL &&
- regex_matches(match->role, window->role)) {
+ regex_matches(match->window_role, window->role)) {
LOG("window_role matches (%s)\n", window->role);
} else {
return false;
regex_free(match->class);
regex_free(match->instance);
regex_free(match->mark);
- regex_free(match->role);
+ regex_free(match->window_role);
/* Second step: free the regex helper struct itself */
FREE(match->title);
FREE(match->class);
FREE(match->instance);
FREE(match->mark);
- FREE(match->role);
+ FREE(match->window_role);
}