ide/gui/Window: Fixed menu bar messing up available space for tiling/cascading
authorJerome St-Louis <jerome@ecere.com>
Thu, 22 May 2014 14:29:42 +0000 (10:29 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 22 May 2014 14:29:42 +0000 (10:29 -0400)
- This was noticed in MDISample

ecere/src/gui/Window.ec

index dee431f..bdcb921 100644 (file)
@@ -1060,7 +1060,7 @@ private:
          int loX = 0, loY = 0, hiX = pw, hiY = ph;
          for(win = parent.children.first; win; win = win.next)
          {
-            if(!win.isActiveClient && win.visible)
+            if(!win.nonClient && !win.isActiveClient && win.visible)
             {
                Size size = win.size;
                Point pos = win.position;