aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2010-02-06 17:14:40 +0000
committerChristopher Michael <cpmichael1@comcast.net>2010-02-06 17:14:40 +0000
commitc466a427b331abe2ed8f24fc5d4666fa670bf36d (patch)
treedfc98f2c3ec47a08b7fd708a4cc19fa10ce3212b /src
parent63c874d7a64b35c6297db8cdffd71403925c2107 (diff)
downloadenlightenment-c466a427b331abe2ed8f24fc5d4666fa670bf36d.tar.gz
enlightenment-c466a427b331abe2ed8f24fc5d4666fa670bf36d.tar.xz
enlightenment-c466a427b331abe2ed8f24fc5d4666fa670bf36d.zip
Layout fixes for conformant windows (wrt keyboard).
SVN revision: 45936
Diffstat (limited to 'src')
-rw-r--r--src/modules/illume2/policies/illume/layout.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/illume2/policies/illume/layout.c b/src/modules/illume2/policies/illume/layout.c
index f354e64c6..7fc8e6c7f 100644
--- a/src/modules/illume2/policies/illume/layout.c
+++ b/src/modules/illume2/policies/illume/layout.c
@@ -332,7 +332,7 @@ _zone_layout_single(E_Border *bd)
ny = ky + ss;
if (e_illume_border_is_conformant(bd))
{
- nh = kh;
+ nh = bd->zone->h;
ny = ky;
}
if ((bd->w != kw) || (bd->h != nh))
@@ -393,7 +393,7 @@ _zone_layout_dual_top(E_Border *bd)
if (conform)
{
by = ky;
- bh += ss;
+ bh = bd->zone->h / 2;
}
else if (e_illume_border_is_home(bd))
by = (b->y + b->h);
@@ -401,12 +401,12 @@ _zone_layout_dual_top(E_Border *bd)
else if (e_illume_border_is_conformant(b))
{
by = (b->y + b->h);
- if (conform) bh += ps;
+ if (conform) bh = bd->zone->h / 2;
}
else
{
by = (b->y + b->h);
- if (conform) bh += ps;
+ if (conform) bh = bd->zone->h / 2;
}
}
else if (b)
@@ -572,7 +572,7 @@ _zone_layout_dual_left(E_Border *bd)
if (conform)
{
by = ky;
- bh += ps + ss;
+ bh = bd->zone->h;
}
else if (e_illume_border_is_home(bd))
bx = (b->x + b->w);
@@ -583,7 +583,7 @@ _zone_layout_dual_left(E_Border *bd)
if (conform)
{
by = ky;
- bh += ps + ss;
+ bh = bd->zone->h;
}
}
else
@@ -592,7 +592,7 @@ _zone_layout_dual_left(E_Border *bd)
if (conform)
{
by = ky;
- bh += ps + ss;
+ bh = bd->zone->h;
}
}
}
@@ -601,7 +601,7 @@ _zone_layout_dual_left(E_Border *bd)
if (bd->client.vkbd.state > ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF)
{
by = (ky + ss);
- bh = ((kh - ss - ps) / 2);
+ bh = (kh - ss - ps);
}
}