devilhorns pushed a commit to branch master.

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

commit 2f57854e8bebb6f92eacc642f7c899683ff4d3a8
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Sep 30 10:28:17 2015 -0400

    ecore-wl2: Reduce noise of ERR messages which are not that important
    when trying to set pointer cursor images
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/ecore_wl2_window.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index fa4e34e..25d527e 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -813,7 +813,9 @@ EAPI void
 ecore_wl2_window_pointer_set(Ecore_Wl2_Window *window, struct wl_surface 
*surface, int hot_x, int hot_y)
 {
    EINA_SAFETY_ON_NULL_RETURN(window);
-   EINA_SAFETY_ON_NULL_RETURN(window->input);
+   /* EINA_SAFETY_ON_NULL_RETURN(window->input); */
+
+   if (!window->input) return;
 
    if (window->input->wl.pointer)
      wl_pointer_set_cursor(window->input->wl.pointer,
@@ -825,10 +827,11 @@ EAPI void
 ecore_wl2_window_cursor_from_name_set(Ecore_Wl2_Window *window, const char 
*cursor)
 {
    EINA_SAFETY_ON_NULL_RETURN(window);
-   EINA_SAFETY_ON_NULL_RETURN(window->input);
+   /* EINA_SAFETY_ON_NULL_RETURN(window->input); */
 
    eina_stringshare_replace(&window->cursor, cursor);
 
+   if (!window->input) return;
    _ecore_wl2_input_cursor_set(window->input, cursor);
 }
 

-- 


Reply via email to