Change-Id: I248b674c7318571bdb546f7fde7390ff455376c8
md = evas_object_smart_data_get(mover);
ec = evas_object_data_get(mover, "E_Client");
+ if (EINA_UNLIKELY((!ec) || (!ec->zone)))
+ return;
+
if ((md->effect_info.accel > sensitivity) ||
((md->effect_info.accel > -sensitivity) && (y > ec->zone->h / 2)))
visible = EINA_TRUE;
EINA_LIST_REVERSE_FOREACH(zone->comp->clients, l, ec)
{
- if(ec->zone != zone) continue;
+ if((!ec->zone) || (ec->zone != zone)) continue;
// if this window has parent and window type isn't "E_WINDOW_TYPE_NORMAL",
// it will be rotated when parent do rotate itself.