aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-06-09 17:23:23 +0200
committerVaxry <[email protected]>2024-06-09 17:23:28 +0200
commit4168b8c17b12b90873fab1ca73c2981b53f48bf5 (patch)
tree91f2ee8eaf59d978c02af2d8dfac1b8065647a50
parent1f71d5f5c1a3fe57dadf534c8b3bcac56fa3259f (diff)
downloadHyprland-4168b8c17b12b90873fab1ca73c2981b53f48bf5.tar.gz
Hyprland-4168b8c17b12b90873fab1ca73c2981b53f48bf5.zip
seat: fix pointer frame events not being sent correctly
fixes #6384
-rw-r--r--src/managers/SeatManager.cpp5
1 files changed, 1 insertions, 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<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) {