forked from enlightenment/enlightenment
fix shelf autohide on zone geometry changes.
when xrandr/xinerama changes zone (screen/output) geometry, the shelf needs to update its hide_origin and also do hide animation if it was hidden already. SVN revision: 40126
This commit is contained in:
parent
9cc29ad360
commit
b94960c645
|
@ -584,8 +584,14 @@ e_shelf_position_calc(E_Shelf *es)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
es->hide_step = 0;
|
es->hide_step = 0;
|
||||||
|
es->hide_origin = -1;
|
||||||
|
|
||||||
e_shelf_move_resize(es, es->x, es->y, es->w, es->h);
|
e_shelf_move_resize(es, es->x, es->y, es->w, es->h);
|
||||||
|
if (es->hidden)
|
||||||
|
{
|
||||||
|
es->hidden = 0;
|
||||||
|
e_shelf_toggle(es, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
|
|
Loading…
Reference in New Issue