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:
Gustavo Sverzut Barbieri 2009-04-17 02:54:56 +00:00
parent 9cc29ad360
commit b94960c645
1 changed files with 7 additions and 1 deletions

View File

@ -584,8 +584,14 @@ e_shelf_position_calc(E_Shelf *es)
break;
}
es->hide_step = 0;
es->hide_origin = -1;
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