return EFL_UTIL_ERROR_NONE;
}
-
struct _efl_util_inputgen_h
{
unsigned int init_type;
E_Devicemgr_Inputgen_Touch_Axis *axis_info;
};
-/* LCOV_EXCL_STOP */
-
static void
_cb_device_add(void *data EINA_UNUSED,
struct tizen_input_device_manager *tizen_input_device_manager EINA_UNUSED,
EINA_SAFETY_ON_FALSE_RETURN_VAL((x > 0 && y > 0), EFL_UTIL_ERROR_INVALID_PARAMETER);
EINA_SAFETY_ON_FALSE_RETURN_VAL(inputgen_h->init_type & EFL_UTIL_INPUT_DEVTYPE_TOUCHSCREEN, EFL_UTIL_ERROR_NO_SUCH_DEVICE);
- if (_eflutil.wl.devmgr.max_touch_count != _eflutil.wl.devmgr.request_touch_count)
+ if (_eflutil.wl.devmgr.request_touch_count != 0 &&
+ _eflutil.wl.devmgr.max_touch_count != _eflutil.wl.devmgr.request_touch_count)
wl_display_dispatch_queue(_eflutil.wl.dpy, _eflutil.wl.queue);
if (idx >= _eflutil.wl.devmgr.max_touch_count)