aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/illume2/policies/illume/layout.c
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2010-01-14 00:20:32 +0000
committerChristopher Michael <cpmichael1@comcast.net>2010-01-14 00:20:32 +0000
commit8fc8d8d24f82f4587684ab8f19d88746085fb0fc (patch)
tree3744f8f22fec1c192986a2cf4d558e0f7977f0b1 /src/modules/illume2/policies/illume/layout.c
parent09db1a4b46739e817ae717c510644b43db3b4163 (diff)
downloadenlightenment-8fc8d8d24f82f4587684ab8f19d88746085fb0fc.tar.gz
enlightenment-8fc8d8d24f82f4587684ab8f19d88746085fb0fc.tar.xz
enlightenment-8fc8d8d24f82f4587684ab8f19d88746085fb0fc.zip
Fix missing corner case for layout placement.
Change variable name in policy settings. SVN revision: 45099
Diffstat (limited to 'src/modules/illume2/policies/illume/layout.c')
-rw-r--r--src/modules/illume2/policies/illume/layout.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/modules/illume2/policies/illume/layout.c b/src/modules/illume2/policies/illume/layout.c
index 16023fa7a..d047cef90 100644
--- a/src/modules/illume2/policies/illume/layout.c
+++ b/src/modules/illume2/policies/illume/layout.c
@@ -95,14 +95,12 @@ _layout_zone_layout(E_Zone *zone)
Eina_List *l;
E_Border *bd;
-// printf("Layout Zone: %d\n", zone->id);
cfg_zone = e_illume_zone_config_get(zone->id);
EINA_LIST_FOREACH(e_border_client_list(), l, bd)
{
int mh;
if ((bd->zone != zone) || (bd->new_client) || (!bd->visible)) continue;
-// printf("\tBorder: %s\n", bd->client.icccm.name);
if (e_illume_border_is_top_shelf(bd))
{
e_illume_border_min_get(bd, NULL, &mh);
@@ -449,6 +447,11 @@ _zone_layout_dual_top_custom(E_Border *bd)
bh = ah;
by = ay;
}
+ else
+ {
+ bh = zh;
+ by = zy;
+ }
}
}
else if (bb)