forked from enlightenment/efl
elementary: Fix issue of cursor getting unset on DRM engine
Summary: When running the E startup wizard using DRM, the cursor ends up getting unset (and never reset) due to the DRM engine not having a wayland window. To fix this, we will test the the engine being DRM and if so then set the cursor->use_engine to false so that it defaults to ecore_evas_object_cursor calls (which work on DRM). @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
a87b0341f3
commit
244f32b797
|
@ -365,6 +365,14 @@ _elm_cursor_cur_set(Elm_Cursor *cur)
|
||||||
cur->use_engine = EINA_TRUE;
|
cur->use_engine = EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_ELEMENTARY_DRM
|
||||||
|
const char *engine_name;
|
||||||
|
|
||||||
|
engine_name = ecore_evas_engine_name_get(cur->ee);
|
||||||
|
if ((engine_name) && (!strcmp(engine_name, ELM_DRM)))
|
||||||
|
cur->use_engine = EINA_FALSE;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (cur->use_engine)
|
if (cur->use_engine)
|
||||||
{
|
{
|
||||||
Evas_Object *top;
|
Evas_Object *top;
|
||||||
|
|
Loading…
Reference in New Issue