X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fscreen.cc;h=adcae6d9eabe9da4e8d575ffb001c0e55c46fab2;hb=16df4538561f443d98fc7ed7bdb95ba674cf58c4;hp=36e6ae0dc72f674e4897a08c6334f6e89648a949;hpb=8b7373cfca831950556511d349b89db46915ba60;p=chaz%2Fopenbox diff --git a/src/screen.cc b/src/screen.cc index 36e6ae0d..adcae6d9 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -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(); }