Modified to handle events raised on a magnifier window 40/65940/2
authorJi-hoon Lee <dalton.lee@samsung.com>
Thu, 14 Apr 2016 06:38:16 +0000 (15:38 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Thu, 14 Apr 2016 06:52:33 +0000 (15:52 +0900)
commit4912f44c25e229c1c55c225c6ba6a37194498e5e
tree694b29f27166e4697edef8f9209ee1dac215226b
parent7aadb0d279195aa833b034532051f83c89d4281b
Modified to handle events raised on a magnifier window

Under wayland environment, the coordinates of "root" structure inside
the Ecore_Event_Mouse_Button is not available, so when a mouse event is
raised on a magnifier window, we have to calculate the x,y coordinates
relative to root window, based on the previous magnifier window's
geometry information.
Otherwise, since the coordinates parameter of mouse event functions
contains coordinates relative to the magnifier window itself, this
will result inappropriate buttons being pressed / released.
(TSAM-1762)

Change-Id: If975e6f7e7a92791e15d6f8763c339f60654f921
scl/gwes/efl/sclevents-efl.cpp