{
win->pointer_device = input;
input->pointer_focus = win;
- input->touch_focus = win;
if (win->pointer.set)
{
if (!(win = ecore_wl_window_surface_find(surface))) return;
- input->touch_focus = win;
input->timestamp = timestamp;
input->display->serial = serial;
input->sx = wl_fixed_to_int(x);
input->sy = wl_fixed_to_int(y);
+ if (input->touch_focus != win)
+ {
+ input->touch_focus = win;
+ _ecore_wl_input_mouse_move_send(input, input->touch_focus, timestamp, id);
+ }
- //_ecore_wl_input_mouse_move_send(input, input->touch_focus, timestamp, id);
if (!input->grab_count)
{
_ecore_wl_input_cb_pointer_enter(data, NULL, serial, surface, x, y);