Don't mess with sizes when moving to other ws.

This commit is contained in:
Fernando Tarlá Cardoso Lemos 2011-01-28 19:58:41 -02:00 committed by Michael Stapelberg
parent 9cfe376d15
commit ac8fb2399d

View File

@ -507,6 +507,7 @@ void con_move_to_workspace(Con *con, Con *workspace) {
/* 6: fix the percentages */ /* 6: fix the percentages */
con_fix_percent(parent); con_fix_percent(parent);
con->percent = 0.0;
con_fix_percent(next); con_fix_percent(next);
/* 7: keep focus on the current workspace */ /* 7: keep focus on the current workspace */