ecore-wl2: Remove cursor field from window structure
authorChris Michael <cp.michael@samsung.com>
Wed, 26 Oct 2016 14:48:05 +0000 (10:48 -0400)
committerChris Michael <cp.michael@samsung.com>
Wed, 26 Oct 2016 15:01:12 +0000 (11:01 -0400)
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.michael@samsung.com>
src/lib/ecore_wl2/ecore_wl2_private.h
src/lib/ecore_wl2/ecore_wl2_window.c

index ff5cdbf..75330d4 100644 (file)
@@ -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;
index 564d532..b04d9a6 100644 (file)
@@ -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;