small fix for maximize() in floating layout

This commit is contained in:
Julien Danjou 2007-11-16 19:14:08 +01:00
parent af0eab0322
commit c412b05b3c

View file

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