cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=2f6c564cc9bc86eba3bcc62c7dc181d77af42d8b
commit 2f6c564cc9bc86eba3bcc62c7dc181d77af42d8b Author: Romain Perier <romain.per...@openwide.fr> Date: Tue Dec 23 17:51:51 2014 +0100 ecore_cocoa: fix _nsevent_window_is_type_of() type check isKindOfClass should receive an instance of a class and a class as arguments and not two class. It fixes Mouse events sent to a window on OSX. Signed-off-by: Cedric BAIL <ced...@osg.samsung.com> --- src/lib/ecore_cocoa/ecore_cocoa.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_cocoa/ecore_cocoa.m b/src/lib/ecore_cocoa/ecore_cocoa.m index d57fd06..ed7f6b0 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa.m +++ b/src/lib/ecore_cocoa/ecore_cocoa.m @@ -89,7 +89,7 @@ _nsevent_window_is_type_of(NSEvent *event, Class class) { /* An NSPeriodic event has no window (undefined behaviour) */ if ([event type] == NSPeriodic) return EINA_FALSE; - return [[[event window] class] isKindOfClass:class]; + return [[event window] isKindOfClass:class]; } static inline Eina_Bool --