From 4168b8c17b12b90873fab1ca73c2981b53f48bf5 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 9 Jun 2024 17:23:23 +0200 Subject: seat: fix pointer frame events not being sent correctly fixes #6384 --- src/managers/SeatManager.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/managers/SeatManager.cpp b/src/managers/SeatManager.cpp index 399ef419..862bd2b5 100644 --- a/src/managers/SeatManager.cpp +++ b/src/managers/SeatManager.cpp @@ -295,11 +295,8 @@ void CSeatManager::sendPointerFrame(WP 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) { -- cgit v1.2.3