From: Fernando Tarlá Cardoso Lemos Date: Fri, 28 Jan 2011 21:58:41 +0000 (-0200) Subject: Don't mess with sizes when moving to other ws. X-Git-Tag: tree-pr2~74 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ac8fb2399d5673e0f8cde7809ad2583470e45112;p=i3%2Fi3 Don't mess with sizes when moving to other ws. --- diff --git a/src/con.c b/src/con.c index 50e303ca..a14b95ce 100644 --- 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 */