summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa.m b/src/lib/ecore_cocoa/ecore_cocoa.m
index a20c72ba2f..1da3ed5b57 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa.m
@@ -333,7 +333,7 @@ ecore_cocoa_feed_events(void *anEvent)
333 ev->modifiers = 0; /* FIXME: keep modifier around. */ 333 ev->modifiers = 0; /* FIXME: keep modifier around. */
334 ev->timestamp = time; 334 ev->timestamp = time;
335 ev->z = [event deltaX] != 0 ? [event deltaX] : -([event deltaY]); 335 ev->z = [event deltaX] != 0 ? [event deltaX] : -([event deltaY]);
336 ev->direction = [event deltaX] != 0 ? 0 : 1; 336 ev->direction = [event deltaX] != 0 ? 1 : 0;
337 337
338 ecore_event_add(ECORE_EVENT_MOUSE_WHEEL, ev, NULL, NULL); 338 ecore_event_add(ECORE_EVENT_MOUSE_WHEEL, ev, NULL, NULL);
339 339