summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDoyoun Kang <doyoun.kang@samsung.com>2024-05-20 19:23:27 +0900
committerDoyoun Kang <doyoun.kang@samsung.com>2024-05-20 19:23:27 +0900
commitcf128d12b1c15187e77825938e7f99fc5ea80a2d (patch)
tree4cb33d369fc61dbdee7b6c9efd16cdcaeeb496ae /src
parent3b2eba620c0e5e8421f91c2d279916d55632ec7c (diff)
downloadefl-util-cf128d12b1c15187e77825938e7f99fc5ea80a2d.tar.gz
efl-util-cf128d12b1c15187e77825938e7f99fc5ea80a2d.tar.bz2
efl-util-cf128d12b1c15187e77825938e7f99fc5ea80a2d.zip
Change-Id: I5a3b5cacaa993b86f5381a7e8ad340cf0967c2ab
Diffstat (limited to 'src')
-rw-r--r--src/efl_util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/efl_util.c b/src/efl_util.c
index 4821b39..14a4b7e 100644
--- a/src/efl_util.c
+++ b/src/efl_util.c
@@ -1472,8 +1472,7 @@ efl_util_input_generate_touch(efl_util_inputgen_h inputgen_h, int idx,
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.request_touch_count != 0 &&
- _eflutil.wl.devmgr.max_touch_count != _eflutil.wl.devmgr.request_touch_count &&
- (ret_dispatch != -1))
+ _eflutil.wl.devmgr.max_touch_count != _eflutil.wl.devmgr.request_touch_count)
ret_dispatch = wl_display_dispatch_queue(_eflutil.wl.dpy, _eflutil.wl.queue);
if (idx >= _eflutil.wl.devmgr.max_touch_count)
@@ -1498,7 +1497,6 @@ efl_util_input_generate_touch(efl_util_inputgen_h inputgen_h, int idx,
tizen_input_device_manager_generate_touch(_eflutil.wl.devmgr.devicemgr, type, x, y, idx);
- ret_dispatch = 0;
while ((_eflutil.wl.devmgr.request_notified == -1) && (ret_dispatch != -1))
ret_dispatch = wl_display_dispatch_queue(_eflutil.wl.dpy, _eflutil.wl.queue);