From: Christopher Michael Date: Wed, 2 Dec 2009 01:38:23 +0000 (+0000) Subject: Add check for conformant app when calculating size/position. X-Git-Tag: submit/efl/20131021.015651~8805 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34b550e7e287d8e85d1f1db6471006541bad2b7f;p=platform%2Fupstream%2Fenlightenment.git Add check for conformant app when calculating size/position. SVN revision: 44112 --- diff --git a/src/modules/illume2/e_mod_layout_illume.c b/src/modules/illume2/e_mod_layout_illume.c index 8c5ff7b..b731c33 100644 --- a/src/modules/illume2/e_mod_layout_illume.c +++ b/src/modules/illume2/e_mod_layout_illume.c @@ -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); + } } }