ecore_cocoa: fix a bug where event timestamp was not retrieved correctly.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Nicolas Aguirre 2015-10-06 18:49:53 +02:00 committed by Cedric BAIL
parent d363b88b1c
commit 51e0bc022b
1 changed files with 1 additions and 0 deletions

View File

@ -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;