From 34b550e7e287d8e85d1f1db6471006541bad2b7f Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Wed, 2 Dec 2009 01:38:23 +0000 Subject: [PATCH] Add check for conformant app when calculating size/position. SVN revision: 44112 --- src/modules/illume2/e_mod_layout_illume.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/modules/illume2/e_mod_layout_illume.c b/src/modules/illume2/e_mod_layout_illume.c index 8c5ff7b71..b731c334f 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); + } } }