aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-10-16 08:27:10 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-10-16 08:27:10 +0900
commita47d14e2461db194377dd8bb81a0393868825575 (patch)
tree37f8a88f74a7d106e4a71a73f091ff81d93ee964
parentevas - was missing evlogs for the threaded rendering handling - fix (diff)
downloadefl-a47d14e2461db194377dd8bb81a0393868825575.tar.gz
evas - add another layer->evas check in addition to layer
-rw-r--r--src/lib/evas/canvas/evas_key_grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_key_grab.c b/src/lib/evas/canvas/evas_key_grab.c
index e26ca068e4..7dfafeb7b8 100644
--- a/src/lib/evas/canvas/evas_key_grab.c
+++ b/src/lib/evas/canvas/evas_key_grab.c
@@ -68,7 +68,7 @@ evas_key_grab_find(Evas_Object *eo_obj, Evas_Object_Protected_Data *obj, const c
void
evas_object_grabs_cleanup(Evas_Object *eo_obj EINA_UNUSED, Evas_Object_Protected_Data *obj)
{
- if (!obj->layer) return;
+ if ((!obj->layer) || (!obj->layer->evas)) return;
if (obj->layer->evas->walking_grabs)
{
Eina_List *l;