summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-10-28 09:53:29 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-10-28 09:53:29 -0400
commit1cdeff1c42737aa6796a344dbd2937051217b02f (patch)
treea341c8014d26fcef6a13bbd77dd897b7a8e76783
parent4655f90aafd88dfa07a1d85fb359c7629012fa75 (diff)
ecore-wl2: only update pointer frame if there is a pointer surface
fix T4777, T4776
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c
index 8a0376baaf..fff7176ad1 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)
1227 input->cursor.surface, 1227 input->cursor.surface,
1228 input->cursor.hot_x, input->cursor.hot_y); 1228 input->cursor.hot_x, input->cursor.hot_y);
1229 1229
1230 if (!input->cursor.frame_cb) 1230 if (input->cursor.surface && (!input->cursor.frame_cb))
1231 _pointer_cb_frame(input, NULL, 0); 1231 _pointer_cb_frame(input, NULL, 0);
1232 1232
1233 return ECORE_CALLBACK_RENEW; 1233 return ECORE_CALLBACK_RENEW;