]> Dogcows Code - chaz/openbox/blobdiff - src/screen.cc
fix compile err
[chaz/openbox] / src / screen.cc
index 36e6ae0dc72f674e4897a08c6334f6e89648a949..adcae6d9eabe9da4e8d575ffb001c0e55c46fab2 100644 (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();
 }
This page took 0.025854 seconds and 4 git commands to generate.