devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3a68e9554ab9fe4591ce78903dbad10e0aa1fb4c

commit 3a68e9554ab9fe4591ce78903dbad10e0aa1fb4c
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Fri Dec 2 09:50:48 2016 -0500

    elementary: Re-enable wayland_egl mouse pointers
    
    It appears that the 'black square' issue when using wayland_egl canvas
    for mouse pointers is gone now, so re-enable the usage of gl pointers
    for elementary windows.
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/elementary/efl_ui_win.c | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 3b1129a..316c7c5 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -5022,15 +5022,10 @@ _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;
 
-             /* 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); */
+             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