Pager Gadget: Don't recalculate the pager if the zone is NULL.

This fixes https://phab.enlightenment.org/T4960
This commit is contained in:
Stephen okra Houston 2016-12-02 11:28:10 -06:00
parent a4a9a5a628
commit cf1d253c56
1 changed files with 1 additions and 0 deletions

View File

@ -284,6 +284,7 @@ _pager_recalc(void *data)
int w, h, zw, zh, w2, h2;
p->recalc = NULL;
if (!p->zone) return;
zw = p->zone->w; zh = p->zone->h;
pd = eina_list_data_get(p->desks);
if (!pd) return;