static void _ecore_evas_drm_rotation_set(Ecore_Evas *ee, int rotation, int resize);
static void _ecore_evas_drm_show(Ecore_Evas *ee);
static void _ecore_evas_drm_hide(Ecore_Evas *ee);
+static void _ecore_evas_drm_title_set(Ecore_Evas *ee, const char *title);
static int _ecore_evas_drm_render(Ecore_Evas *ee);
static void _ecore_evas_drm_render_updates(void *data, Evas *evas EINA_UNUSED, void *event);
static int _ecore_evas_drm_render_updates_process(Ecore_Evas *ee, Eina_List *updates);
NULL, //void (*fn_raise) (Ecore_Evas *ee);
NULL, //void (*fn_lower) (Ecore_Evas *ee);
NULL, //void (*fn_activate) (Ecore_Evas *ee);
- NULL, //void (*fn_title_set) (Ecore_Evas *ee, const char *t);
+ _ecore_evas_drm_title_set,
NULL, //void (*fn_name_class_set) (Ecore_Evas *ee, const char *n, const char *c);
NULL, //void (*fn_size_min_set) (Ecore_Evas *ee, int w, int h);
NULL, //void (*fn_size_max_set) (Ecore_Evas *ee, int w, int h);
if (ee->func.fn_hide) ee->func.fn_hide(ee);
}
+static void
+_ecore_evas_drm_title_set(Ecore_Evas *ee, const char *title)
+{
+ if (ee->prop.title) free(ee->prop.title);
+ ee->prop.title = NULL;
+ if (title) ee->prop.title = strdup(title);
+}
+
static int
_ecore_evas_drm_render(Ecore_Evas *ee)
{