discomfitor pushed a commit to branch master.

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

commit 1cdeff1c42737aa6796a344dbd2937051217b02f
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Oct 28 09:53:29 2016 -0400

    ecore-wl2: only update pointer frame if there is a pointer surface
    
    fix T4777, T4776
---
 src/lib/ecore_wl2/ecore_wl2_input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c 
b/src/lib/ecore_wl2/ecore_wl2_input.c
index 8a0376b..fff7176 100644
--- a/src/lib/ecore_wl2/ecore_wl2_input.c
+++ b/src/lib/ecore_wl2/ecore_wl2_input.c
@@ -1227,7 +1227,7 @@ _ecore_wl2_input_cursor_update(void *data)
                            input->cursor.surface,
                            input->cursor.hot_x, input->cursor.hot_y);
 
-   if (!input->cursor.frame_cb)
+   if (input->cursor.surface && (!input->cursor.frame_cb))
      _pointer_cb_frame(input, NULL, 0);
 
    return ECORE_CALLBACK_RENEW;

-- 


Reply via email to