When pointer is locked, no need to hide cursor by timer.
After applying this patch, the sequence flow is as follows.
1. mouse moves -> cursor hide timer added
mouse moves -> cursor hide timer updated
2. pointer locked -> delete cursor hide timer
mouse moves -> relative motion
mouse moves -> relative motion
3. pointer unlocked
mouse moves -> cursor hide timer added
mouse moves -> cursor hide timer updated
mouse idles -> cursor hidden by timer
Change-Id: I982db4fb2ed5742ef51c007394cf30ca684c7071
&constraint->surface_unmap_listener);
if (!e_input_relative_motion_handler_set(_e_comp_wl_input_relative_motion_handler))
ERR("ERROR! Could not set relative motion handler !");
+
+ E_FREE_FUNC(e_comp_wl->ptr.hide_tmr, ecore_timer_del);
}
static void