forked from enlightenment/enlightenment
Pager Gadget: Don't recalculate the pager if the zone is NULL.
This fixes https://phab.enlightenment.org/T4960
This commit is contained in:
parent
a4a9a5a628
commit
cf1d253c56
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue