diff --git a/src/restore_layout.c b/src/restore_layout.c index 11590a33..0f6e54f9 100644 --- a/src/restore_layout.c +++ b/src/restore_layout.c @@ -219,7 +219,7 @@ static void open_placeholder_window(Con *con) { Match *temp_id = smalloc(sizeof(Match)); match_init(temp_id); temp_id->id = placeholder; - TAILQ_INSERT_TAIL(&(con->swallow_head), temp_id, matches); + TAILQ_INSERT_HEAD(&(con->swallow_head), temp_id, matches); } Con *child;