summaryrefslogtreecommitdiff
path: root/src/lib/ecore_cocoa
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2016-06-04 16:34:30 +0200
committerJean Guyomarc'h <jean@guyomarch.bzh>2016-06-04 16:53:54 +0200
commitde5f293426965f9dc19a7fe08332bf9ed42956c9 (patch)
tree5664bdb64e0a2530f4bada6b63eefb5f50d690dd /src/lib/ecore_cocoa
parent088f4af9e7a341c1d3d7bff5cc961ec58d7f8db4 (diff)
ecore_cocoa: fix broken scrolling
Evas events recently changed, and involved the use of the 'multi' field within a mouse mouve event. It was used afterwards for mouse scrolling, but since it was never set by ecore_cocoa, scrolling went broken... Fixes T3789
Diffstat (limited to 'src/lib/ecore_cocoa')
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa_window.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa_window.m b/src/lib/ecore_cocoa/ecore_cocoa_window.m
index c2db749818..941a12f705 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa_window.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa_window.m
@@ -278,6 +278,10 @@ static NSCursor *_cursors[__ECORE_COCOA_CURSOR_LAST];
278 ev->event_window = ev->window; 278 ev->event_window = ev->window;
279 ev->modifiers = 0; /* FIXME: keep modifier around. */ 279 ev->modifiers = 0; /* FIXME: keep modifier around. */
280 280
281 ev->multi.device = 0;
282 ev->multi.x = ev->x;
283 ev->multi.y = ev->y;
284
281 ecore_event_add(ECORE_EVENT_MOUSE_MOVE, ev, NULL, NULL); 285 ecore_event_add(ECORE_EVENT_MOUSE_MOVE, ev, NULL, NULL);
282} 286}
283 287