Summary: This adds a new 'name' field to the Ecore_Drm_Event_Output
structure so that when we catch drm output events in E, we can compare
this name to find an e_randr screen and update compositor's outputs.
@feature
Signed-off-by: Chris Michael <cp.michael@samsung.com>
int transform;
const char *make;
const char *model;
+ const char *name; /** @since 1.15 */
Eina_Bool plug : 1;
};
eina_stringshare_del(e->make);
eina_stringshare_del(e->model);
+ eina_stringshare_del(e->name);
free(event);
}
e->subpixel_order = output->subpixel;
e->make = eina_stringshare_ref(output->make);
e->model = eina_stringshare_ref(output->model);
+ e->name = eina_stringshare_ref(output->name);
e->transform = 0;
ecore_event_add(ECORE_DRM_EVENT_OUTPUT, e,
_ecore_drm_output_event_free, NULL);