summaryrefslogtreecommitdiff
path: root/src/lib/ecore_cocoa/ecore_cocoa_window.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_cocoa/ecore_cocoa_window.m')
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa_window.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa_window.m b/src/lib/ecore_cocoa/ecore_cocoa_window.m
index 126bf7fcea..249c0a8051 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa_window.m
+++ b/src/lib/ecore_cocoa/ecore_cocoa_window.m
@@ -215,6 +215,7 @@ static NSCursor *_cursors[__ECORE_COCOA_CURSOR_LAST];
215 else 215 else
216 ev->triple_click = 0; 216 ev->triple_click = 0;
217 217
218 ev->modifiers = ecore_cocoa_event_modifiers([event modifierFlags]);
218 ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_DOWN, ev, NULL, NULL); 219 ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_DOWN, ev, NULL, NULL);
219} 220}
220 221
@@ -272,6 +273,7 @@ static NSCursor *_cursors[__ECORE_COCOA_CURSOR_LAST];
272 else 273 else
273 ev->triple_click = 0; 274 ev->triple_click = 0;
274 275
276 ev->modifiers = ecore_cocoa_event_modifiers([event modifierFlags]);
275 ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_UP, ev, NULL, NULL); 277 ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_UP, ev, NULL, NULL);
276} 278}
277 279
@@ -312,6 +314,7 @@ static NSCursor *_cursors[__ECORE_COCOA_CURSOR_LAST];
312 ev->multi.x = ev->x; 314 ev->multi.x = ev->x;
313 ev->multi.y = ev->y; 315 ev->multi.y = ev->y;
314 316
317 ev->modifiers = ecore_cocoa_event_modifiers([event modifierFlags]);
315 ecore_event_add(ECORE_EVENT_MOUSE_MOVE, ev, NULL, NULL); 318 ecore_event_add(ECORE_EVENT_MOUSE_MOVE, ev, NULL, NULL);
316} 319}
317 320