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