Add check for conformant app when calculating size/position.
authorChristopher Michael <cpmichael1@comcast.net>
Wed, 2 Dec 2009 01:38:23 +0000 (01:38 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Wed, 2 Dec 2009 01:38:23 +0000 (01:38 +0000)
SVN revision: 44112

src/modules/illume2/e_mod_layout_illume.c

index 8c5ff7b..b731c33 100644 (file)
@@ -141,7 +141,14 @@ _border_calc_position(E_Zone *z, E_Border *bd, int *x, int *y, int *w, int *h)
         if (x) *x = z->x;
         if (y) *y = (z->y + shelfsize);
         if (w) *w = z->w;
-        if (h) *h = (z->h - shelfsize);
+        if (illume_border_is_conformant(bd)) 
+          {
+             if (h) *h = (z->h - shelfsize);
+          }
+        else 
+          {
+             if (h) *h = (z->h - shelfsize - panelsize);
+          }
      }
 }