aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen okra Houston <smhouston88@gmail.com>2016-12-02 11:28:10 -0600
committerStephen okra Houston <smhouston88@gmail.com>2016-12-02 11:28:10 -0600
commitcf1d253c56b6427110810423f1ccab88d2c66189 (patch)
tree736a5729b3d405f4ba8fa913f0c60250903c5ec3 /src
parentluncher: delete the popup if there is already one (diff)
downloadenlightenment-cf1d253c56b6427110810423f1ccab88d2c66189.tar.gz
Pager Gadget: Don't recalculate the pager if the zone is NULL.
Diffstat (limited to 'src')
-rw-r--r--src/modules/pager/gadget/pager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/pager/gadget/pager.c b/src/modules/pager/gadget/pager.c
index c562f92bb..b270329af 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;