fix compile err

This commit is contained in:
Dana Jansens 2003-02-03 08:16:52 +00:00
parent 8b7373cfca
commit 16df453856

View file

@ -261,10 +261,12 @@ void Screen::calcArea()
#endif // XINERAMA
*/
if (old_area != _area)
if (old_area != _area) {
// the area has changed, adjust all the maximized windows
Client::List::iterator it, end = clients.end();
for (it = clients.begin(); it != end; ++it)
(*it)->remaximize();
}
changeWorkArea();
}