summaryrefslogtreecommitdiff
path: root/src/lib/ecore_cocoa/ecore_cocoa_window.m
diff options
context:
space:
mode:
authorNicolas Aguirre <aguirre.nicolas@gmail.com>2015-10-06 18:49:53 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-10-13 15:40:01 -0700
commit51e0bc022b33e2a6fac187ac72365c353ed3a520 (patch)
tree53a920d75fb9f6f1a2898e61ca852c2793a375b4 /src/lib/ecore_cocoa/ecore_cocoa_window.m
parentd363b88b1c98716db51d55a6c58ee144904e2582 (diff)
ecore_cocoa: fix a bug where event timestamp was not retrieved correctly.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa_window.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa_window.m b/src/lib/ecore_cocoa/ecore_cocoa_window.m
index 92aa309d5e..e3df62c81b 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa_window.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa_window.m
@@ -218,6 +218,7 @@
218 218
219- (void) mouseMoved:(NSEvent*) event 219- (void) mouseMoved:(NSEvent*) event
220{ 220{
221 unsigned int time = (unsigned int)((unsigned long long)(ecore_time_get() * 1000.0) & 0xffffffff);
221 Ecore_Event_Mouse_Move * ev = calloc(1, sizeof(Ecore_Event_Mouse_Move)); 222 Ecore_Event_Mouse_Move * ev = calloc(1, sizeof(Ecore_Event_Mouse_Move));
222 if (!ev) return; 223 if (!ev) return;
223 224