mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 05:06:00 +01:00
parent
1f71d5f5c1
commit
4168b8c17b
1 changed files with 1 additions and 4 deletions
|
@ -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 a new issue