forked from enlightenment/enlightenment
Check for new_client when laying out indicator. (Needed for elm_indicator
app). SVN revision: 46438
This commit is contained in:
parent
a1c976af85
commit
4bf3e5c772
|
@ -254,7 +254,7 @@ _policy_zone_layout_indicator(E_Border *bd, E_Illume_Config_Zone *cz)
|
||||||
e_illume_border_min_get(bd, NULL, &cz->indicator.size);
|
e_illume_border_min_get(bd, NULL, &cz->indicator.size);
|
||||||
|
|
||||||
/* no point in doing anything here if indicator is hidden */
|
/* no point in doing anything here if indicator is hidden */
|
||||||
if (!bd->visible) return;
|
if ((!bd->new_client) && (!bd->visible)) return;
|
||||||
|
|
||||||
/* if we are dragging, then skip it for now */
|
/* if we are dragging, then skip it for now */
|
||||||
if (bd->client.illume.drag.drag)
|
if (bd->client.illume.drag.drag)
|
||||||
|
@ -356,7 +356,7 @@ _policy_zone_layout_softkey(E_Border *bd, E_Illume_Config_Zone *cz)
|
||||||
* that it is already in this position...but it's actually not.
|
* that it is already in this position...but it's actually not.
|
||||||
* So for now, just disable the ny check until this gets sorted out */
|
* So for now, just disable the ny check until this gets sorted out */
|
||||||
// if ((bd->x != bd->zone->x) || (bd->y != ny))
|
// if ((bd->x != bd->zone->x) || (bd->y != ny))
|
||||||
_policy_border_move(bd, bd->zone->x, ny);
|
_policy_border_move(bd, bd->zone->x, ny);
|
||||||
|
|
||||||
/* set layer if needed */
|
/* set layer if needed */
|
||||||
if (bd->layer != POL_SOFTKEY_LAYER)
|
if (bd->layer != POL_SOFTKEY_LAYER)
|
||||||
|
|
Loading…
Reference in New Issue