From: Nicolas Aguirre Date: Tue, 6 Oct 2015 16:49:53 +0000 (+0200) Subject: ecore_cocoa: fix a bug where event timestamp was not retrieved correctly. X-Git-Tag: v1.16.0-beta2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51e0bc022b33e2a6fac187ac72365c353ed3a520;p=platform%2Fupstream%2Fefl.git ecore_cocoa: fix a bug where event timestamp was not retrieved correctly. Signed-off-by: Cedric BAIL --- diff --git a/src/lib/ecore_cocoa/ecore_cocoa_window.m b/src/lib/ecore_cocoa/ecore_cocoa_window.m index 92aa309..e3df62c 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa_window.m +++ b/src/lib/ecore_cocoa/ecore_cocoa_window.m @@ -218,6 +218,7 @@ - (void) mouseMoved:(NSEvent*) event { + unsigned int time = (unsigned int)((unsigned long long)(ecore_time_get() * 1000.0) & 0xffffffff); Ecore_Event_Mouse_Move * ev = calloc(1, sizeof(Ecore_Event_Mouse_Move)); if (!ev) return;