ecore_cocoa: fix a bug where event timestamp was not retrieved correctly.
authorNicolas Aguirre <aguirre.nicolas@gmail.com>
Tue, 6 Oct 2015 16:49:53 +0000 (18:49 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 13 Oct 2015 22:40:01 +0000 (15:40 -0700)
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/ecore_cocoa/ecore_cocoa_window.m

index 92aa309..e3df62c 100644 (file)
 
 - (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;