ecore_cocoa: move mouse event handling to NSWindow
authorpierre lamot <pierre.lamot@openwide.fr>
Wed, 18 Feb 2015 13:11:00 +0000 (14:11 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 12 Mar 2015 06:43:59 +0000 (07:43 +0100)
commitc0aedc828a0156fcb563890921302302a67747b8
tree654b16d1d233a6c8d4fb9e457a7e9dec8efcf6d3
parentcf730014cfccf7f8c0fa86af2440ed7439c43101
ecore_cocoa: move mouse event handling to NSWindow

Mouse events was broken after a resize of the window from the left
or the bottom. As I understand, theses resize were changing the origin
of Cocoa window independly from the origin of the EFL.

This has been resolved by moving mouse envents handling to our NSWindow
delegate. thus events are always in the right referential.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/ecore_cocoa/ecore_cocoa.m
src/lib/ecore_cocoa/ecore_cocoa_window.m