aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/illume2/policies/illume/layout.c
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2010-01-26 22:37:55 +0000
committerChristopher Michael <cpmichael1@comcast.net>2010-01-26 22:37:55 +0000
commitc45b689eb13d2a12273f8c5ae428f719472d1f2d (patch)
tree775aee3ea51649f5a0961d760581bd7acbf67f1e /src/modules/illume2/policies/illume/layout.c
parent474f76e958f5b1ae34a5dd5654318f7d0f450c17 (diff)
downloadenlightenment-c45b689eb13d2a12273f8c5ae428f719472d1f2d.tar.gz
enlightenment-c45b689eb13d2a12273f8c5ae428f719472d1f2d.tar.xz
enlightenment-c45b689eb13d2a12273f8c5ae428f719472d1f2d.zip
Fix custom layout mode for fullscreen apps.
SVN revision: 45606
Diffstat (limited to 'src/modules/illume2/policies/illume/layout.c')
-rw-r--r--src/modules/illume2/policies/illume/layout.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/modules/illume2/policies/illume/layout.c b/src/modules/illume2/policies/illume/layout.c
index aef9ac64a..ed6c6c008 100644
--- a/src/modules/illume2/policies/illume/layout.c
+++ b/src/modules/illume2/policies/illume/layout.c
@@ -381,12 +381,12 @@ _zone_layout_dual_top(E_Border *bd)
static void
_zone_layout_dual_top_custom(E_Border *bd)
{
- int kx, kw;
+ int kx, kw, ky, kh;
int ax, ay, aw, ah;
int zx, zy, zw, zh;
/* grab the 'safe' region. Safe region is space not occupied by keyboard */
- e_illume_kbd_safe_app_region_get(bd->zone, &kx, NULL, &kw, NULL);
+ e_illume_kbd_safe_app_region_get(bd->zone, &kx, &ky, &kw, &kh);
e_illume_border_app1_safe_region_get(bd->zone, &ax, &ay, &aw, &ah);
e_illume_border_app2_safe_region_get(bd->zone, &zx, &zy, &zw, &zh);
@@ -473,6 +473,11 @@ _zone_layout_dual_top_custom(E_Border *bd)
}
}
+ if ((bd->fullscreen) || (bd->need_fullscreen))
+ {
+ bh = kh;
+ by = ky;
+ }
if ((bd->w != kw) || (bd->h != bh))
_zone_layout_border_resize(bd, kw, bh);
if ((bd->x != kx) || (bd->y != by))