]> git.sur5r.net Git - i3/i3/blobdiff - src/floating.c
Fix floating mode according to the new requirements.
[i3/i3] / src / floating.c
index 89350f94a500f56452d8a7cb4f6d5fcd5fb5cee5..9e1637ab15c2b0a43dc44d413af12d488d9fd643 100644 (file)
@@ -102,6 +102,7 @@ void floating_enable(Con *con, bool automatic) {
 
     /* 3: attach the child to the new parent container */
     con->parent = nc;
+    con->percent = 1.0;
     con->floating = FLOATING_USER_ON;
 
     /* Some clients (like GIMP’s color picker window) get mapped