diff --git a/wayland_adapter/framework/core/wayland_pointer.cpp b/wayland_adapter/framework/core/wayland_pointer.cpp index 85dcea37e9ffafba81279a709a5832a59a70286b..dd7b79288b76b32e03ca2ff4e3b0be308710d81a 100644 --- a/wayland_adapter/framework/core/wayland_pointer.cpp +++ b/wayland_adapter/framework/core/wayland_pointer.cpp @@ -83,7 +83,6 @@ void WaylandPointer::OnPointerMotionAbsolute(uint32_t time, int32_t posX, int32_ void WaylandPointer::OnPointerLeave(struct wl_resource *surface_resource) { - LOG_WARN("WaylandPointer::OnPointerLeave in"); wl_display *display = WlDisplay(); if (display == nullptr) { return; @@ -97,7 +96,6 @@ void WaylandPointer::OnPointerLeave(struct wl_resource *surface_resource) } void WaylandPointer::OnPointerEnter(int32_t posX, int32_t posY, struct wl_resource *surface_resource) { - LOG_WARN("WaylandPointer::OnPointerEnter in"); wl_fixed_t posFixedX = wl_fixed_from_int(posX); wl_fixed_t posFixedY = wl_fixed_from_int(posY); wl_resource *pointer = WlResource(); diff --git a/wayland_adapter/framework/core/wayland_seat.cpp b/wayland_adapter/framework/core/wayland_seat.cpp index 67d3cd56638c8a22550a40e879d815fcbeef3865..f034b4c71adcb6e1f1ba3db8ab58a729d4a49f29 100644 --- a/wayland_adapter/framework/core/wayland_seat.cpp +++ b/wayland_adapter/framework/core/wayland_seat.cpp @@ -121,7 +121,7 @@ OHOS::sptr WaylandSeat::GetPointerResource(struct wl_client *cli seatResourcesMap_.erase(client); return nullptr; } - LOG_INFO("get seatResource name=%{public}s, id=%{public}d", seatResource->Name().c_str(), seatResource->Id()); + return seatResource->GetChildPointer(); } diff --git a/wayland_adapter/utils/src/wayland_resource_object.cpp b/wayland_adapter/utils/src/wayland_resource_object.cpp index bf1e73fdc1bc69984cb04b8faca6659fca850f59..7810de3c616aeaaef9fa5bb1578eec543c2073bb 100644 --- a/wayland_adapter/utils/src/wayland_resource_object.cpp +++ b/wayland_adapter/utils/src/wayland_resource_object.cpp @@ -41,7 +41,7 @@ WaylandResourceObject::WaylandResourceObject(struct wl_client *client, const str id_ = wl_resource_get_id(resource_); wl_resource_set_implementation(resource_, implementation_, this, &WaylandResourceObject::OnDestroy); name_ = std::string(interface_->name) + "_" + std::to_string(version_) + "_" + std::to_string(id_); - LOG_INFO("create WaylandResourceObject, name=%{public}s, id=%{public}d", name_.c_str(), id_); + LOG_DEBUG("create WaylandResourceObject, name=%{public}s, id=%{public}d", name_.c_str(), id_); } WaylandResourceObject::~WaylandResourceObject() noexcept