- DLOG("marking window with str %s\n", mark);
- FREE(current->con->mark);
- current->con->mark = sstrdup(mark);
- }
-
- DLOG("Clearing all non-matched windows with this mark\n");
- Con *con;
- TAILQ_FOREACH(con, &all_cons, all_cons) {
- /* Skip matched window, we took care of it already. */
- if (current->con == con)
- continue;
-
- if (con->mark && strcmp(con->mark, mark) == 0) {
- FREE(con->mark);
- con->mark_changed = true;
- }