]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Correctly attach new output cons to the root con (Thanks mseed)
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 11 Jun 2011 12:36:09 +0000 (14:36 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 11 Jun 2011 12:36:09 +0000 (14:36 +0200)
src/randr.c

index 4a33458cfbb254b320923670bfca25c38f55af01..f13cab67ecbac45213c1639491550f49096702dd 100644 (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;