DLOG("Removing all existing marks on con = %p.\n", con);
mark_t *current;
- TAILQ_FOREACH(current, &(con->marks_head), marks) {
+ while (!TAILQ_EMPTY(&(con->marks_head))) {
+ current = TAILQ_FIRST(&(con->marks_head));
con_unmark(con, current->name);
}
}
CALL(parent, on_remove_child);
ipc_send_window_event("move", con);
+ ewmh_update_wm_desktop();
return true;
}
(TAILQ_FIRST(&(con->nodes_head)) == child ? "" : " "), child_txt);
free(buf);
buf = tmp_buf;
+ free(child_txt);
}
/* 3) close the brackets */