devilhorns pushed a commit to branch master.

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

commit e3f02acc93142353977c91d80ba00969d35e93fb
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Nov 2 12:12:04 2016 -0400

    ecore-wl2: Update cursor regardless of cursor surface
    
    If a NULL surface gets passed into ecore_wl2_window_pointer_set that
    would mean we are unsetting the cursor surface, so we should still be
    calling wl_pointer_set_cursor even with a NULL surface.
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/ecore_wl2_window.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index c2be35d..b2aa63f 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -945,8 +945,7 @@ ecore_wl2_window_pointer_set(Ecore_Wl2_Window *window, 
struct wl_surface *surfac
    input->cursor.hot_x = hot_x;
    input->cursor.hot_y = hot_y;
 
-   if (input->cursor.surface)
-     _ecore_wl2_input_cursor_update(input);
+   _ecore_wl2_input_cursor_update(input);
 }
 
 EAPI void

-- 


Reply via email to