summaryrefslogtreecommitdiff
path: root/src/protocols/RelativePointer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols/RelativePointer.cpp')
-rw-r--r--src/protocols/RelativePointer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocols/RelativePointer.cpp b/src/protocols/RelativePointer.cpp
index f002fac1..9876852f 100644
--- a/src/protocols/RelativePointer.cpp
+++ b/src/protocols/RelativePointer.cpp
@@ -59,10 +59,10 @@ void CRelativePointerProtocol::onGetRelativePointer(CZwpRelativePointerManagerV1
void CRelativePointerProtocol::sendRelativeMotion(uint64_t time, const Vector2D& delta, const Vector2D& deltaUnaccel) {
- if (!g_pSeatManager->state.pointerFocusResource)
+ if (!g_pSeatManager->m_state.pointerFocusResource)
return;
- const auto FOCUSED = g_pSeatManager->state.pointerFocusResource->client();
+ const auto FOCUSED = g_pSeatManager->m_state.pointerFocusResource->client();
for (auto const& rp : m_vRelativePointers) {
if (FOCUSED != rp->client())