diff --git a/src/libei.c b/src/libei.c index 00ce208..8706b53 100644 --- a/src/libei.c +++ b/src/libei.c @@ -568,7 +568,7 @@ ei_queue_touch_down_event(struct ei_device *device, uint32_t touchid, struct ei_event *e = ei_event_new_for_device(device); e->type = EI_EVENT_TOUCH_DOWN; - e->touch.touchid = touchid, + e->touch.touchid = touchid; e->touch.x = x; e->touch.y = y; @@ -582,7 +582,7 @@ ei_queue_touch_motion_event(struct ei_device *device, uint32_t touchid, struct ei_event *e = ei_event_new_for_device(device); e->type = EI_EVENT_TOUCH_MOTION; - e->touch.touchid = touchid, + e->touch.touchid = touchid; e->touch.x = x; e->touch.y = y; @@ -595,7 +595,7 @@ ei_queue_touch_up_event(struct ei_device *device, uint32_t touchid) struct ei_event *e = ei_event_new_for_device(device); e->type = EI_EVENT_TOUCH_UP; - e->touch.touchid = touchid, + e->touch.touchid = touchid; e->touch.is_cancel = false; queue_event(ei_device_get_context(device), e); @@ -607,7 +607,7 @@ ei_queue_touch_cancel_event(struct ei_device *device, uint32_t touchid) struct ei_event *e = ei_event_new_for_device(device); e->type = EI_EVENT_TOUCH_UP; - e->touch.touchid = touchid, + e->touch.touchid = touchid; e->touch.is_cancel = true; queue_event(ei_device_get_context(device), e); diff --git a/src/libeis.c b/src/libeis.c index 6da2110..697e83f 100644 --- a/src/libeis.c +++ b/src/libeis.c @@ -392,7 +392,7 @@ eis_queue_touch_down_event(struct eis_device *device, uint32_t touchid, { struct eis_event *e = eis_event_new_for_device(device); e->type = EIS_EVENT_TOUCH_DOWN; - e->touch.touchid = touchid, + e->touch.touchid = touchid; e->touch.x = x; e->touch.y = y; eis_queue_event(e); @@ -404,7 +404,7 @@ eis_queue_touch_motion_event(struct eis_device *device, uint32_t touchid, { struct eis_event *e = eis_event_new_for_device(device); e->type = EIS_EVENT_TOUCH_MOTION; - e->touch.touchid = touchid, + e->touch.touchid = touchid; e->touch.x = x; e->touch.y = y; eis_queue_event(e); @@ -425,7 +425,7 @@ eis_queue_touch_cancel_event(struct eis_device *device, uint32_t touchid) { struct eis_event *e = eis_event_new_for_device(device); e->type = EIS_EVENT_TOUCH_UP; - e->touch.touchid = touchid, + e->touch.touchid = touchid; e->touch.is_cancel = true; eis_queue_event(e); }