}
static void
-_e_comp_wl_evas_cb_mouse_in(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_e_comp_wl_evas_cb_mouse_in(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event)
{
E_Client *ec;
Evas_Event_Mouse_In *ev;
struct wl_client *wc;
Eina_List *l;
uint32_t serial;
+ E_Comp_Config *comp_conf = NULL;
ev = event;
e_comp_wl->ptr.ec = ec;
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ ELOGF("Mouse", "In (obj: %p, time: %d, canvas(%d, %d) output(%d, %d), name:%20s)",
+ ec, obj, ev->timestamp, ev->canvas.x, ev->canvas.y, ev->output.x, ev->output.y,
+ e_client_util_name_get(ec));
+
if (_e_comp_wl_check_cursor_timer_needed(ec))
{
if (!_e_comp_wl_cursor_timer_control(EVAS_CALLBACK_MOUSE_IN, ec))
}
static void
-_e_comp_wl_evas_cb_mouse_out(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_e_comp_wl_evas_cb_mouse_out(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event)
{
E_Client *ec;
Evas_Event_Mouse_Out *ev;
Eina_List *l;
uint32_t serial;
Eina_Bool inside_check;
+ E_Comp_Config *comp_conf = NULL;
ev = event;
struct wl_resource *surface = e_comp_wl_client_surface_get(ec);
if (!surface) return;
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ ELOGF("Mouse", "Out (obj: %p, time: %d, canvas(%d, %d) output(%d, %d), name:%20s)",
+ ec, obj, ev->timestamp, ev->canvas.x, ev->canvas.y, ev->output.x, ev->output.y,
+ e_client_util_name_get(ec));
+
if (_e_comp_wl_check_cursor_timer_needed(ec))
{
if (!_e_comp_wl_cursor_timer_control(EVAS_CALLBACK_MOUSE_OUT, ec))
}
static void
-_e_comp_wl_evas_cb_mouse_move(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event)
+_e_comp_wl_evas_cb_mouse_move(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event)
{
E_Client *ec;
Evas_Event_Mouse_Move *ev;
Evas_Device *dev = NULL;
const char *dev_name;
+ E_Comp_Config *comp_conf = NULL;
ev = event;
dev = ev->dev;
dev_name = evas_device_description_get(dev);
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ ELOGF("Mouse", "Move (obj: %p, time: %d, canvas(%d, %d), output(%d, %d), name:%20s) (dev:%s)",
+ ec, obj, ev->timestamp, ev->cur.canvas.x, ev->cur.canvas.y, ev->cur.output.x, ev->cur.output.y,
+ e_client_util_name_get(ec), dev_name);
+
if (dev && (evas_device_class_get(dev) == EVAS_DEVICE_CLASS_TOUCH))
{
if (!e_comp_wl->drag_client)