devilhorns pushed a commit to branch master.

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

commit 2166ae63772e005bf7b998d2d1c070b89871a67d
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Oct 26 10:48:05 2016 -0400

    ecore-wl2: Remove cursor field from window structure
    
    Remove the const char *cursor field from the window structure as this
    is useless. It was never used for any real functional purpose.
    
    @fix
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/ecore_wl2_private.h | 1 -
 src/lib/ecore_wl2/ecore_wl2_window.c  | 2 --
 2 files changed, 3 deletions(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_private.h 
b/src/lib/ecore_wl2/ecore_wl2_private.h
index ff5cdbf..75330d4 100644
--- a/src/lib/ecore_wl2/ecore_wl2_private.h
+++ b/src/lib/ecore_wl2/ecore_wl2_private.h
@@ -138,7 +138,6 @@ struct _Ecore_Wl2_Window
    int id, rotation, surface_id;
    const char *title;
    const char *class;
-   const char *cursor;
 
    struct wl_surface *surface;
    struct wl_shell_surface *wl_shell_surface;
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index 564d532..b04d9a6 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -963,8 +963,6 @@ ecore_wl2_window_cursor_from_name_set(Ecore_Wl2_Window 
*window, const char *curs
 
    EINA_SAFETY_ON_NULL_RETURN(window);
 
-   eina_stringshare_replace(&window->cursor, cursor);
-
    input = ecore_wl2_window_input_get(window);
    if (!input) return;
 

-- 


Reply via email to