thiep pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=9c204eb36970c72d254c5f42818dbe24f9a47451
commit 9c204eb36970c72d254c5f42818dbe24f9a47451 Author: Thiep Ha <thie...@gmail.com> Date: Tue Mar 15 08:15:05 2016 +0900 ecore_evas_cocoa: correct focus handlers Focus handlers are set incorrectly. It causes windows process focus when they are acttually unfocused. This patch corrects it. Signed-off-by: Thiep Ha <thie...@gmail.com> --- src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c index 2fc1914..7c70599 100644 --- a/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c +++ b/src/modules/ecore_evas/engines/cocoa/ecore_evas_cocoa.c @@ -289,10 +289,10 @@ _ecore_evas_cocoa_init(void) ecore_evas_event_handlers[0] = ecore_event_handler_add(ECORE_COCOA_EVENT_WINDOW_UNFOCUSED, - _ecore_evas_cocoa_event_got_focus, NULL); + _ecore_evas_cocoa_event_lost_focus, NULL); ecore_evas_event_handlers[1] = ecore_event_handler_add(ECORE_COCOA_EVENT_WINDOW_FOCUSED, - _ecore_evas_cocoa_event_lost_focus, NULL); + _ecore_evas_cocoa_event_got_focus, NULL); ecore_evas_event_handlers[2] = ecore_event_handler_add(ECORE_COCOA_EVENT_WINDOW_RESIZE_REQUEST, _ecore_evas_cocoa_event_window_resize, NULL); --