From 1cdeff1c42737aa6796a344dbd2937051217b02f Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 28 Oct 2016 09:53:29 -0400 Subject: [PATCH] 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; -- 2.7.4