diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-10-28 09:53:29 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-10-28 09:53:29 -0400 |
commit | 1cdeff1c42737aa6796a344dbd2937051217b02f (patch) | |
tree | a341c8014d26fcef6a13bbd77dd897b7a8e76783 | |
parent | 4655f90aafd88dfa07a1d85fb359c7629012fa75 (diff) | |
download | efl-1cdeff1c42737aa6796a344dbd2937051217b02f.tar.gz |
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.c | 2 |
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) 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; |