add first version of a new flex/bison based command parser

This commit is contained in:
Michael Stapelberg
2010-04-14 20:26:56 +02:00
parent 24725cd94a
commit 769501420d
6 changed files with 413 additions and 5 deletions

View File

@ -203,7 +203,7 @@ Con *con_by_frame_id(xcb_window_t frame) {
return NULL;
}
static bool match_matches_window(Match *match, i3Window *window) {
bool match_matches_window(Match *match, i3Window *window) {
/* TODO: pcre, full matching, … */
if (match->class != NULL && strcasecmp(match->class, window->class_class) == 0) {
LOG("match made by window class (%s)\n", window->class_class);