mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-02 00:45:58 +01:00
parent
9eec4cb670
commit
7e8c0b7f30
1 changed files with 3 additions and 0 deletions
|
@ -297,6 +297,9 @@ void CSeatManager::sendPointerAxis(uint32_t timeMs, wl_pointer_axis axis, double
|
||||||
p->sendAxis(timeMs, axis, value);
|
p->sendAxis(timeMs, axis, value);
|
||||||
p->sendAxisSource(source);
|
p->sendAxisSource(source);
|
||||||
p->sendAxisRelativeDirection(axis, relative);
|
p->sendAxisRelativeDirection(axis, relative);
|
||||||
|
|
||||||
|
if (value == 0)
|
||||||
|
p->sendAxisStop(timeMs, axis);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue