Bugfix: Correctly attach new output cons to the root con (Thanks mseed)

next
Michael Stapelberg 2011-06-11 14:36:09 +02:00
parent fb9d77305e
commit b35ff6a7c9
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ void output_init_con(Output *output) {
con->name = sstrdup(output->name);
con->type = CT_OUTPUT;
con->layout = L_OUTPUT;
con_fix_percent(croot);
}
con->rect = output->rect;
output->con = con;