{
Eldbus_Message *reply = eldbus_message_method_return_new(msg);
uint32_t info;
+ E_Output *output;
+ Eina_List *l;
if (!eldbus_message_arguments_get(msg, "i", &info))
{
return reply;
}
+ EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp, reply);
+ EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp->e_comp_screen, reply);
+
switch (info)
{
case 0:
- e_comp_hwc_deactive_set(EINA_TRUE);
+ EINA_LIST_FOREACH(e_comp->e_comp_screen->outputs, l, output)
+ e_hwc_deactive_set(output->hwc, EINA_TRUE);
break;
case 1:
- e_comp_hwc_deactive_set(EINA_FALSE);
+ EINA_LIST_FOREACH(e_comp->e_comp_screen->outputs, l, output)
+ e_hwc_deactive_set(output->hwc, EINA_FALSE);
break;
default: