]> git.sur5r.net Git - i3/i3/blobdiff - src/workspace.c
Merge pull request #1641 from Deiz/fix-1640
[i3/i3] / src / workspace.c
index f55c920ebd4697b7cd9346c8d233993d7625c202..4a16f3d1c7b31d587466bcc4b27cc0570ae80b75 100644 (file)
@@ -846,6 +846,9 @@ Con *workspace_attach_to(Con *ws) {
     DLOG("Attaching new split %p to workspace %p\n", new, ws);
     con_attach(new, ws, false);
 
+    /* 5: fix the percentages */
+    con_fix_percent(ws);
+
     return new;
 }