fix compile err
This commit is contained in:
parent
8b7373cfca
commit
16df453856
1 changed files with 3 additions and 1 deletions
|
@ -261,10 +261,12 @@ void Screen::calcArea()
|
||||||
#endif // XINERAMA
|
#endif // XINERAMA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (old_area != _area)
|
if (old_area != _area) {
|
||||||
// the area has changed, adjust all the maximized windows
|
// the area has changed, adjust all the maximized windows
|
||||||
|
Client::List::iterator it, end = clients.end();
|
||||||
for (it = clients.begin(); it != end; ++it)
|
for (it = clients.begin(); it != end; ++it)
|
||||||
(*it)->remaximize();
|
(*it)->remaximize();
|
||||||
|
}
|
||||||
|
|
||||||
changeWorkArea();
|
changeWorkArea();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue