aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rootston/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/cursor.c b/rootston/cursor.c
index 87f35435..e34fe4b2 100644
--- a/rootston/cursor.c
+++ b/rootston/cursor.c
@@ -321,7 +321,7 @@ static void notify_relative_motion(struct roots_seat *seat, uint64_t time_msec,
struct wlr_relative_pointer_v1 *pointer =
wlr_relative_pointer_v1_from_resource(resource);
- if (pointer == NULL) {
+ if (pointer == NULL || seat->seat != pointer->seat) {
continue;
}