devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=0fd28a07f8a27b6ac25435db551cf7dbd184f349

commit 0fd28a07f8a27b6ac25435db551cf7dbd184f349
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Feb 26 10:44:59 2015 -0500

    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.mich...@samsung.com>
---
 src/lib/els_cursor.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/lib/els_cursor.c b/src/lib/els_cursor.c
index dd17984..0825d56 100644
--- a/src/lib/els_cursor.c
+++ b/src/lib/els_cursor.c
@@ -365,6 +365,14 @@ _elm_cursor_cur_set(Elm_Cursor *cur)
         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)
      {
         Evas_Object *top;

-- 


Reply via email to