E_Comp_Config *cfg;
cfg = e_comp_config_get();
+ if (!ec) return;
+
if (group == E_EFFECT_GROUP_KEYBOARD)
e_comp_object_effect_set(ec->frame, "keyboard");
else
while (parent_ec->parent)
parent_ec = parent_ec->parent;
- if ((parent_ec) && (parent_ec != ec) && (parent_ec->launching)) // Launchig case with parent at same time
+ if ((parent_ec != ec) && (parent_ec->launching)) // Launchig case with parent at same time
e_comp_object_effect_set(ec->frame, cfg->effect_style);
else if ((efc) && (e_policy_client_is_home_screen(efc->reverse_ec))) // Home key effect senario
e_comp_object_effect_set(ec->frame, cfg->effect_style);