do not match docks in config and command criteria (#2340)

This commit is contained in:
johannes karoff
2016-09-26 18:45:58 +02:00
committed by Michael Stapelberg
parent 655ed0ba27
commit 1437271e65
5 changed files with 75 additions and 3 deletions

View File

@ -240,6 +240,7 @@ static void open_placeholder_window(Con *con) {
/* create temporary id swallow to match the placeholder */
Match *temp_id = smalloc(sizeof(Match));
match_init(temp_id);
temp_id->dock = M_DONTCHECK;
temp_id->id = placeholder;
TAILQ_INSERT_HEAD(&(con->swallow_head), temp_id, matches);
}