]> git.sur5r.net Git - i3/i3/commitdiff
Don't mess with sizes when moving to other ws.
authorFernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>
Fri, 28 Jan 2011 21:58:41 +0000 (19:58 -0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 29 Jan 2011 14:19:41 +0000 (15:19 +0100)
src/con.c

index 50e303ca6a3b5fa19de7fdf2dd7629b638e248b7..a14b95ce5493e32b03d868bcc5dc6a01f928fcbe 100644 (file)
--- a/src/con.c
+++ b/src/con.c
@@ -507,6 +507,7 @@ void con_move_to_workspace(Con *con, Con *workspace) {
 
     /* 6: fix the percentages */
     con_fix_percent(parent);
+    con->percent = 0.0;
     con_fix_percent(next);
 
     /* 7: keep focus on the current workspace */