ecore-wl2: Remove usage of pointer update timer

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>
This commit is contained in:
Chris Michael 2016-10-26 10:53:56 -04:00
parent 2166ae6377
commit eeb4ce879d
2 changed files with 5 additions and 4 deletions

View File

@ -1333,9 +1333,11 @@ _ecore_wl2_input_cursor_set(Ecore_Wl2_Input *input, const char *cursor)
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

View File

@ -357,7 +357,6 @@ struct _Ecore_Wl2_Input
struct wl_surface *surface;
struct wl_callback *frame_cb;
int hot_x, hot_y;
Ecore_Timer *timer;
} cursor;
struct