devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4343432ee72df9148b4d7ed1707a139ec3f8b656

commit 4343432ee72df9148b4d7ed1707a139ec3f8b656
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Nov 1 10:52:49 2016 -0400

    elementary: Use software engine for wayland client pointers
    
    There seem to be an issue with the ecore_evas_wayland_egl engine when
    using them for cursors. The issue is that a black square shows up
    behind the mouse pointer. This does not happen with the wayland_shm
    engine so use wayland_shm engine for mouse pointers (for now) until
    this can be sorted out.
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/elementary/efl_ui_win.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 5474d2a..2686e5c 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -4873,10 +4873,15 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data 
*sd, const char *name, Elm_W
              Evas *pevas;
              Evas_Coord mw = 1, mh = 1, hx = 0, hy = 0;
 
-             if (!strcmp(engine, ELM_WAYLAND_SHM))
-               sd->pointer.ee = ecore_evas_wayland_shm_new(NULL, 0, 0, 0, 1, 
1, 0);
-             else if (!strcmp(engine, ELM_WAYLAND_EGL))
-               sd->pointer.ee = ecore_evas_wayland_egl_new(NULL, 0, 0, 0, 1, 
1, 0);
+             /* FIXME: NB:
+              * Disable using wayland_egl engine for mouse pointer right now.
+              * This is being disabled due to an issue in the engine where
+              * a black square is being drawn behind the pointer image */
+
+             /* if (!strcmp(engine, ELM_WAYLAND_SHM)) */
+             sd->pointer.ee = ecore_evas_wayland_shm_new(NULL, 0, 0, 0, 1, 1, 
0);
+             /* else if (!strcmp(engine, ELM_WAYLAND_EGL)) */
+             /*   sd->pointer.ee = ecore_evas_wayland_egl_new(NULL, 0, 0, 0, 
1, 1, 0); */
 
              pevas = ecore_evas_get(sd->pointer.ee);
 

-- 


Reply via email to