From d0c940d796418672a2421afe108e01b23b0452c4 Mon Sep 17 00:00:00 2001 From: Alex Maese Date: Fri, 14 Dec 2018 09:34:09 -0600 Subject: [PATCH] Only send relative motion to correct seat --- rootston/cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }