maximize resize in a volatile way

This commit is contained in:
Julien Danjou 2007-12-27 23:50:37 +01:00
parent 1644cb51c3
commit 3851e755df
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ maximize(int x, int y, int w, int h, int screen)
{
sel->wasfloating = sel->isfloating;
sel->isfloating = True;
client_resize(sel, x, y, w, h, True, !sel->isfloating);
client_resize(sel, x, y, w, h, True, True);
}
else if(sel->wasfloating)
client_resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True, False);