devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5754e8ccc574daf1688e7158fd8d3087d99b738a

commit 5754e8ccc574daf1688e7158fd8d3087d99b738a
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon May 4 12:37:56 2015 -0400

    ecore-evas-wayland: Fix issue of setting NULL cursor object
    
    Summary: If we are calling ecore_evas_object_cursor_set with a NULL
    object, then we need to inform the ecore_wayland window that we no
    longer have a cursor surface.
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 926269d..4c26ece 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -1222,6 +1222,7 @@ _ecore_evas_wl_common_object_cursor_set(Ecore_Evas *ee, 
Evas_Object *obj, int la
    old = ee->prop.cursor.object;
    if (obj == NULL)
      {
+        ecore_wl_window_pointer_set(wdata->win, NULL, 0, 0);
         ee->prop.cursor.object = NULL;
         ee->prop.cursor.layer = 0;
         ee->prop.cursor.hot.x = 0;

-- 


Reply via email to