diff options
author | Alex Maese <memaese@hotmail.com> | 2018-12-14 09:34:09 -0600 |
---|---|---|
committer | Alex Maese <memaese@hotmail.com> | 2018-12-21 12:20:48 -0600 |
commit | d0c940d796418672a2421afe108e01b23b0452c4 (patch) | |
tree | 8172effc232d335551b27e7030fba1c0999dc650 | |
parent | 09bdbf24f4fc44cfbb9bd6079a1d7cd08edaefdb (diff) |
Only send relative motion to correct seat
-rw-r--r-- | rootston/cursor.c | 2 |
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; } |