diff options
| author | Pppp1116 <pcaiadoguerreiro@gmail.com> | 2026-04-03 13:24:22 +0100 |
|---|---|---|
| committer | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-04 08:26:24 -0400 |
| commit | 0647b5449c5e5d7d314b03793232a13097fe753f (patch) | |
| tree | fc7c35b47d6d7a616eba1173d2a03fcf78eb3725 /src/protocols/RelativePointer.hpp | |
| parent | 4c897c2d476d42c716dee254d151ff23c66ef53b (diff) | |
protocols: avoid repeated per-client work in hot paths
Diffstat (limited to 'src/protocols/RelativePointer.hpp')
| -rw-r--r-- | src/protocols/RelativePointer.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocols/RelativePointer.hpp b/src/protocols/RelativePointer.hpp index 3d6a3e30..d422aab5 100644 --- a/src/protocols/RelativePointer.hpp +++ b/src/protocols/RelativePointer.hpp @@ -11,6 +11,7 @@ class CRelativePointer { CRelativePointer(SP<CZwpRelativePointerV1> resource_); void sendRelativeMotion(uint64_t time, const Vector2D& delta, const Vector2D& deltaUnaccel); + void sendRelativeMotion(uint32_t timeHi, uint32_t timeLo, wl_fixed_t dx, wl_fixed_t dy, wl_fixed_t dxUnaccel, wl_fixed_t dyUnaccel); bool good(); wl_client* client(); @@ -42,4 +43,4 @@ class CRelativePointerProtocol : public IWaylandProtocol { namespace PROTO { inline UP<CRelativePointerProtocol> relativePointer; -};
\ No newline at end of file +}; |
