mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 13:25:42 +03:00
parent
1f71d5f5c1
commit
4168b8c17b
@ -295,11 +295,8 @@ void CSeatManager::sendPointerFrame(WP<CWLSeatResource> pResource) {
|
|||||||
if (!pResource)
|
if (!pResource)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!state.pointerFocusResource)
|
|
||||||
return;
|
|
||||||
|
|
||||||
for (auto& s : seatResources) {
|
for (auto& s : seatResources) {
|
||||||
if (s->resource->client() != state.pointerFocusResource->client())
|
if (s->resource->client() != pResource->client())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
for (auto& p : s->resource->pointers) {
|
for (auto& p : s->resource->pointers) {
|
||||||
|
Loading…
Reference in New Issue
Block a user