forked from enlightenment/enlightenment
Fix case(s) where home window was not showing when another app was visible
and we changed layout mode. SVN revision: 46310
This commit is contained in:
parent
1b5b744ca3
commit
2de25e35db
|
@ -406,9 +406,6 @@ _policy_zone_layout_home_single(E_Border *bd, E_Illume_Config_Zone *cz)
|
|||
|
||||
// printf("\tLayout Home Single: %s\n", bd->client.icccm.class);
|
||||
|
||||
/* no point in adjusting size or position if it's not visible */
|
||||
if ((!bd->new_client) && (!bd->visible)) return;
|
||||
|
||||
/* make sure it's the required width & height */
|
||||
nh = (bd->zone->h - cz->indicator.size - cz->softkey.size);
|
||||
if ((bd->w != bd->zone->w) || (bd->h != nh))
|
||||
|
@ -430,9 +427,6 @@ _policy_zone_layout_home_dual_top(E_Border *bd, E_Illume_Config_Zone *cz)
|
|||
E_Border *home;
|
||||
int ny, nh;
|
||||
|
||||
/* no point in adjusting size or position if it's not visible */
|
||||
if ((!bd->new_client) && (!bd->visible)) return;
|
||||
|
||||
/* set some defaults */
|
||||
ny = (bd->zone->y + cz->indicator.size);
|
||||
nh = ((bd->zone->h - cz->indicator.size - cz->softkey.size) / 2);
|
||||
|
@ -465,9 +459,6 @@ _policy_zone_layout_home_dual_custom(E_Border *bd, E_Illume_Config_Zone *cz)
|
|||
|
||||
// printf("\tLayout Home Dual Custom: %s\n", bd->client.icccm.class);
|
||||
|
||||
/* no point in adjusting size or position if it's not visible */
|
||||
if ((!bd->new_client) && (!bd->visible)) return;
|
||||
|
||||
/* grab indicator position */
|
||||
e_illume_border_indicator_pos_get(bd->zone, NULL, &iy);
|
||||
|
||||
|
@ -507,9 +498,6 @@ _policy_zone_layout_home_dual_left(E_Border *bd, E_Illume_Config_Zone *cz)
|
|||
|
||||
// printf("\tLayout Home Dual Left: %s\n", bd->client.icccm.class);
|
||||
|
||||
/* no point in adjusting size or position if it's not visible */
|
||||
if ((!bd->new_client) && (!bd->visible)) return;
|
||||
|
||||
nh = (bd->zone->h - cz->indicator.size - cz->softkey.size);
|
||||
|
||||
/* set some defaults */
|
||||
|
|
Loading…
Reference in New Issue