seat: fix pointer frame events not being sent correctly

fixes #6384
This commit is contained in:
Vaxry 2024-06-09 17:23:23 +02:00
parent 1f71d5f5c1
commit 4168b8c17b

View File

@ -295,11 +295,8 @@ void CSeatManager::sendPointerFrame(WP<CWLSeatResource> pResource) {
if (!pResource)
return;
if (!state.pointerFocusResource)
return;
for (auto& s : seatResources) {
if (s->resource->client() != state.pointerFocusResource->client())
if (s->resource->client() != pResource->client())
continue;
for (auto& p : s->resource->pointers) {