bug fix: return to last real floating/tiled state when unmaximizing

This commit is contained in:
Julien Danjou 2007-09-24 15:42:53 +02:00
parent 595eba78d7
commit c5c810a285
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ maximize(int x, int y, int w, int h, DC *drawcontext, awesome_config *awesomecon
sel->rh = sel->h; sel->rh = sel->h;
resize(sel, x, y, w, h, True); resize(sel, x, y, w, h, True);
} }
else if(sel->isfloating) else if(sel->wasfloating)
resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True); resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True);
else else
sel->isfloating = False; sel->isfloating = False;