From: Michael Stapelberg Date: Sat, 11 Jun 2011 12:36:09 +0000 (+0200) Subject: Bugfix: Correctly attach new output cons to the root con (Thanks mseed) X-Git-Tag: tree-pr4~79 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b35ff6a7c98bc983e9cd3745a5faa6207936c381;p=i3%2Fi3 Bugfix: Correctly attach new output cons to the root con (Thanks mseed) --- diff --git a/src/randr.c b/src/randr.c index 4a33458c..f13cab67 100644 --- a/src/randr.c +++ b/src/randr.c @@ -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;