forked from enlightenment/enlightenment
Hide/Show QP borders when appropriate.
If we move the indicator window in policy, then send qp_pos_update message so quickpanel is in the correct position. SVN revision: 45473
This commit is contained in:
parent
ada28c01eb
commit
8ca7469480
|
@ -294,11 +294,14 @@ _e_quickpanel_cb_animate(void *data)
|
|||
if (bd->fx.y != (qp->adjust + pbh))
|
||||
e_border_fx_offset(bd, 0, (qp->adjust + pbh));
|
||||
pbh += bd->h;
|
||||
if (bd->fx.y > 0)
|
||||
if (!bd->visible) _e_quickpanel_border_show(bd);
|
||||
if (qp->visible)
|
||||
if (!qp->visible)
|
||||
{
|
||||
if (bd->fx.y <= 0)
|
||||
if (bd->fx.y > 0)
|
||||
if (!bd->visible) _e_quickpanel_border_show(bd);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (bd->fx.y <= 10)
|
||||
if (bd->visible) _e_quickpanel_border_hide(bd);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -125,7 +125,10 @@ _layout_zone_layout(E_Zone *zone)
|
|||
if (!cfg_zone->mode.dual)
|
||||
{
|
||||
if ((bd->x != zone->x) || (bd->y != zone->y))
|
||||
_zone_layout_border_move(bd, zone->x, zone->y);
|
||||
{
|
||||
_zone_layout_border_move(bd, zone->x, zone->y);
|
||||
ecore_x_e_illume_quickpanel_position_update_send(bd->client.win);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -137,7 +140,10 @@ _layout_zone_layout(E_Zone *zone)
|
|||
else
|
||||
{
|
||||
if ((bd->x != zone->x) || (bd->y != zone->y))
|
||||
_zone_layout_border_move(bd, zone->x, zone->y);
|
||||
{
|
||||
_zone_layout_border_move(bd, zone->x, zone->y);
|
||||
ecore_x_e_illume_quickpanel_position_update_send(bd->client.win);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue