{
/* Bg update */
e_main_ts_begin("\tE_BG_Zone Update");
- if (e_zone_current_get()->bg_object)
- e_bg_zone_update(e_zone_current_get(), E_BG_TRANSITION_DESK);
+ E_Zone *zone = NULL;
+ zone = e_zone_current_get();
+ EINA_SAFETY_ON_NULL_GOTO(zone, comp_wl_job);
+ if (zone->bg_object)
+ e_bg_zone_update(zone, E_BG_TRANSITION_DESK);
else
- e_bg_zone_update(e_zone_current_get(), E_BG_TRANSITION_START);
+ e_bg_zone_update(zone, E_BG_TRANSITION_START);
e_main_ts_end("\tE_BG_Zone Update Done");
+comp_wl_job:
e_main_ts_begin("\tE_Comp_Wl_Deferred");
e_comp_wl_deferred_job();
e_main_ts_end("\tE_Comp_Wl_Deferred Done");