Mouse_In events are sent before Mouse_Move events.
This commit is to update pointer's position(ptr.x/y) when Mouse_In cb.
There was a bug that E20 decided whether pointer's position is inside
of a client(or region) in Mouse_In cb and it failed since position is not
updated yet in Mouse_In cb.
Change-Id: I63136fcb83a32e599bacc6a74b3efd8540a6d8bb
uint32_t serial;
ev = event;
+
+ e_comp_wl->ptr.x = wl_fixed_from_int(ev->canvas.x);
+ e_comp_wl->ptr.y = wl_fixed_from_int(ev->canvas.y);
+
if (!(ec = data)) return;
if (e_object_is_del(E_OBJECT(ec))) return;
struct wl_resource *surface = e_comp_wl_client_surface_get(ec);