As we are no longer using X pointer images, we no longer have the need
for an Ecore_Timer to update any animated X images so remove.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
void
_ecore_wl2_input_cursor_update_stop(Ecore_Wl2_Input *input)
{
- if (!input->cursor.timer) return;
- ecore_timer_del(input->cursor.timer);
- input->cursor.timer = NULL;
+ if (input->cursor.frame_cb)
+ {
+ wl_callback_destroy(input->cursor.frame_cb);
+ input->cursor.frame_cb = NULL;
+ }
}
EAPI void
struct wl_surface *surface;
struct wl_callback *frame_cb;
int hot_x, hot_y;
- Ecore_Timer *timer;
} cursor;
struct