Even pointer (cursor) is not available, when pointer constrainted
warp request is allowed.
Change-Id: I1d20b29d49e609deeb0c8d5c27775b6ca371e211
if ((!e_config->show_cursor) || (!e_comp_wl->ptr.enabled))
{
DMERR("Pointer is not available");
- return TIZEN_INPUT_DEVICE_MANAGER_ERROR_NO_POINTER_AVAILABLE;
+ if (!e_comp_wl_input_pointer_constraint_activated_get())
+ return TIZEN_INPUT_DEVICE_MANAGER_ERROR_NO_POINTER_AVAILABLE;
+ else
+ DMINF("Pointer Contstraint activated. warp allowed. show_cursor(%d)", e_config->show_cursor);
}
new_x = wl_fixed_to_int(x);