ecore_wl2_input: update a timestamp whenever possible 90/198890/1
authorWonki Kim <wonki_.kim@samsung.com>
Tue, 29 Jan 2019 12:06:33 +0000 (07:06 -0500)
committerWonki Kim <wonki_.kim@samsung.com>
Thu, 31 Jan 2019 00:35:44 +0000 (09:35 +0900)
commit1cfcd81dc792be6cc44ab5d76559e08da01b8474
tree8cc05fcc3d15df981c7c266f65d88d302bdde147
parent2a80808c70857a344b053d9a449264efda81e991
ecore_wl2_input: update a timestamp whenever possible

Summary:
gettimeofday function returns a accumulated timestamp since around 1970 by the way,
a argument from server looks like a system uptime based timestamp
in some distribution such as tizen.

so that this patch appends a logic that updates a timestamp
inside Ecore_Wl2_Input* whenever possible to
prevent gettimeofday function from being called.

Reviewers: #reviewers, cedric, devilhorns

Reviewed By: #reviewers, devilhorns

Subscribers: devilhorns, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7766

Change-Id: I6a74972c326a6484580fed3ab94264ec6f635192
src/lib/ecore_wl2/ecore_wl2_input.c