okra pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=cf1d253c56b6427110810423f1ccab88d2c66189

commit cf1d253c56b6427110810423f1ccab88d2c66189
Author: Stephen okra Houston <smhousto...@gmail.com>
Date:   Fri Dec 2 11:28:10 2016 -0600

    Pager Gadget: Don't recalculate the pager if the zone is NULL.
    
    This fixes https://phab.enlightenment.org/T4960
---
 src/modules/pager/gadget/pager.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/pager/gadget/pager.c b/src/modules/pager/gadget/pager.c
index c562f92..b270329 100644
--- a/src/modules/pager/gadget/pager.c
+++ b/src/modules/pager/gadget/pager.c
@@ -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;

-- 


Reply via email to