HWC initializes at e_display_init, so hwc deactivation has
done after e_display_init.
Change-Id: I1a7f7b2e3bcfad2840d09f235e9d48f6f87efa34
if (e_comp->hwc)
{
- if (conf->hwc_deactive) e_comp_hwc_deactive_set(EINA_TRUE);
if (conf->hwc_reuse_cursor_buffer) e_comp->hwc_reuse_cursor_buffer = EINA_TRUE;
if (conf->hwc_use_multi_plane) e_comp_hwc_multi_plane_set(EINA_TRUE);
e_zone_focus_reset(zone);
}
+
+EINTERN Eina_Bool
+e_comp_conf_hwc_deactive_get(void)
+{
+ if (!conf) return EINA_FALSE;
+
+ return conf->hwc_deactive;
+}
\ No newline at end of file
EINTERN E_Client *e_comp_focused_ec_get(void);
EINTERN void e_comp_ungrab_input_without_inout(Eina_Bool mouse, Eina_Bool kbd);
+EINTERN Eina_Bool e_comp_conf_hwc_deactive_get(void);
+
#endif
e_comp_screen->num_outputs = e_display_num_outputs_get();
e_comp_screen->outputs = e_display_outputs_get();
+
+ if (e_comp->hwc && e_comp_conf_hwc_deactive_get())
+ e_comp_hwc_deactive_set(EINA_TRUE);
#else
/* tdm display init */
e_main_ts_begin("\tTDM Display Init");