summaryrefslogtreecommitdiff
path: root/src/protocols/core/Seat.cpp
diff options
context:
space:
mode:
authorIkalco <73481042+ikalco@users.noreply.github.com>2024-11-26 07:52:43 -0600
committerGitHub <noreply@github.com>2024-11-26 13:52:43 +0000
commit1fb720b62aeb474873ba43426ddc53afde1e6cdd (patch)
tree546fac08bacc7e9521d77169e726a6ecd4d0683e /src/protocols/core/Seat.cpp
parent268778823676ef2bbda42050d78946e1fc27fc31 (diff)
seat: fix double scrolling in some applications (#8583)
Diffstat (limited to 'src/protocols/core/Seat.cpp')
-rw-r--r--src/protocols/core/Seat.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/protocols/core/Seat.cpp b/src/protocols/core/Seat.cpp
index d95e0e12..7c31b67c 100644
--- a/src/protocols/core/Seat.cpp
+++ b/src/protocols/core/Seat.cpp
@@ -136,6 +136,10 @@ CWLPointerResource::CWLPointerResource(SP<CWlPointer> resource_, SP<CWLSeatResou
sendEnter(g_pSeatManager->state.pointerFocus.lock(), {-1, -1} /* Coords don't really matter that much, they will be updated next move */);
}
+int CWLPointerResource::version() {
+ return resource->version();
+}
+
bool CWLPointerResource::good() {
return resource->resource();
}