struct wl_resource *data_device_res, *offer_res;
uint32_t serial;
int x, y;
+ E_Comp_Config *comp_conf;
struct wl_resource *surface = e_comp_wl_client_surface_get(ec);
if (!surface) return;
y = wl_fixed_to_int(e_comp_wl->ptr.y) - ec_y;
}
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ ELOGF("DnD", "Data device send enter to ec(%p): %s, ptr:%d,%d", ec, ec, e_client_icccm_name_get(ec), wl_fixed_from_int(x), wl_fixed_from_int(y));
+
serial = wl_display_next_serial(e_comp_wl->wl.disp);
wl_data_device_send_enter(data_device_res, serial, surface,
wl_fixed_from_int(x), wl_fixed_from_int(y), offer_res);
EINTERN void
e_comp_wl_data_device_send_leave(E_Client *ec)
{
+ E_Comp_Config *comp_conf;
struct wl_resource *res;
evas_object_event_callback_del_full(ec->frame, EVAS_CALLBACK_DEL, _e_comp_wl_data_device_target_del, ec);
res = e_comp_wl_data_find_for_client(wl_resource_get_client(surface));
if (res)
- wl_data_device_send_leave(res);
+ {
+ comp_conf = e_comp_config_get();
+ if (comp_conf && comp_conf->input_log_enable)
+ ELOGF("DnD", "Data device send leave to ec(%p): %s", ec, ec, e_client_icccm_name_get(ec));
+
+ wl_data_device_send_leave(res);
+ }
}
EINTERN void