Need an actual move here to handle external keyboards (elm_kbd). This

'should' make kbd 100% finished. Works in all test cases I have run so far.



SVN revision: 44734
This commit is contained in:
Christopher Michael 2009-12-27 20:09:26 +00:00
parent ebf154104a
commit f6f8eb8c09
1 changed files with 5 additions and 2 deletions

View File

@ -316,8 +316,11 @@ _zone_layout(E_Zone *z)
}
else if (e_mod_border_is_keyboard(bd))
{
_border_resize_fx(bd, z->x, (z->y + z->h - kbdsize),
z->w, kbdsize);
if ((bd->h != kbdsize) || (bd->w != z->w))
e_border_resize(bd, z->w, kbdsize);
if ((bd->x != z->x) || (bd->y != (z->y + z->h - kbdsize)) ||
(bd->fx.y != (z->y + z->h - kbdsize)))
e_border_move(bd, z->x, (z->y + z->h - kbdsize));
e_border_stick(bd);
if (bd->layer != IL_KEYBOARD_LAYER)
e_border_layer_set(bd, IL_KEYBOARD_LAYER);