if (wl_resource_get_client(res) != wc) continue;
if (!e_seat_pointer_check(res)) continue;
+ TRACE_INPUT_BEGIN(e_seat_pointer_send_enter);
+ ELOGF("Mouse", "Enter (x:%d, y:%d)", NULL, x, y);
wl_pointer_send_enter(res, serial, surface,
wl_fixed_from_int(x), wl_fixed_from_int(y));
+ TRACE_INPUT_END();
if (ec)
ec->pointer_enter_sent = EINA_TRUE;
if (wl_resource_get_client(res) != wc) continue;
if (!e_seat_pointer_check(res)) continue;
+ TRACE_INPUT_BEGIN(e_seat_pointer_send_enter);
+ ELOGF("Mouse", "Enter (x:%d, y:%d)", NULL, x, y);
wl_pointer_send_enter(res, serial, surface,
wl_fixed_from_int(x), wl_fixed_from_int(y));
+ TRACE_INPUT_END();
if (ec)
ec->pointer_enter_sent = EINA_TRUE;
if (!e_seat_pointer_check(res)) continue;
if (ec && ec->pointer_enter_sent == EINA_FALSE) continue;
+ TRACE_INPUT_BEGIN(e_seat_pointer_send_leave);
+ ELOGF("Mouse", "Leave", NULL);
wl_pointer_send_leave(res, serial, surface);
+ TRACE_INPUT_END();
if (ec)
ec->pointer_enter_sent = EINA_FALSE;
if (!e_seat_pointer_check(res)) continue;
if (ec && ec->pointer_enter_sent == EINA_FALSE) continue;
+ TRACE_INPUT_BEGIN(e_seat_pointer_send_leave);
+ ELOGF("Mouse", "Leave", NULL);
wl_pointer_send_leave(res, serial, surface);
+ TRACE_INPUT_END();
if (ec)
ec->pointer_enter_sent = EINA_FALSE;
if (wl_resource_get_client(res) != wc) continue;
if (!e_seat_pointer_check(res)) continue;
- TRACE_INPUT_BEGIN(e_comp_wl_surface_mouse_button);
+ TRACE_INPUT_BEGIN(e_seat_pointer_send_button);
ELOGF("Mouse", "Button %s (btn: %d, time: %d)", NULL, (state ? "Down" : "Up"), button, timestamp);
wl_pointer_send_button(res, serial, timestamp,
button, state);
if (wl_resource_get_client(res) != wc) continue;
if (!e_seat_pointer_check(res)) continue;
+ TRACE_INPUT_BEGIN(e_seat_pointer_send_button);
+ ELOGF("Mouse", "Button %s (btn: %d, time: %d)", NULL, (state ? "Down" : "Up"), button, timestamp);
wl_pointer_send_button(res, serial, timestamp,
button, state);
+ TRACE_INPUT_END();
}
}
}