summaryrefslogtreecommitdiff
path: root/src/protocols/core/Seat.hpp
diff options
context:
space:
mode:
authorIkalco <73481042+ikalco@users.noreply.github.com>2025-08-29 15:16:40 -0500
committerGitHub <noreply@github.com>2025-08-29 22:16:40 +0200
commitea42041f936d5810c5cfa45d6bece12dde2fd9b6 (patch)
treed600f5a6a4fcdee8f3e24b666d1ea57ccc88cdd6 /src/protocols/core/Seat.hpp
parent05a1c0aa7395d19213e587c83089ecbd7b92085c (diff)
protocols: implement pointer-warp-v1 (#11469)
Diffstat (limited to 'src/protocols/core/Seat.hpp')
-rw-r--r--src/protocols/core/Seat.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/protocols/core/Seat.hpp b/src/protocols/core/Seat.hpp
index 8b8f6004..29399a27 100644
--- a/src/protocols/core/Seat.hpp
+++ b/src/protocols/core/Seat.hpp
@@ -88,15 +88,21 @@ class CWLPointerResource {
WP<CWLSeatResource> m_owner;
+ //
+ static SP<CWLPointerResource> fromResource(wl_resource* res);
+
private:
SP<CWlPointer> m_resource;
WP<CWLSurfaceResource> m_currentSurface;
+ WP<CWLPointerResource> m_self;
std::vector<uint32_t> m_pressedButtons;
struct {
CHyprSignalListener destroySurface;
} m_listeners;
+
+ friend class CWLSeatResource;
};
class CWLKeyboardResource {