Only send relative motion to correct seat

This commit is contained in:
Alex Maese 2018-12-14 09:34:09 -06:00
parent 09bdbf24f4
commit d0c940d796

View file

@ -321,7 +321,7 @@ static void notify_relative_motion(struct roots_seat *seat, uint64_t time_msec,
struct wlr_relative_pointer_v1 *pointer = struct wlr_relative_pointer_v1 *pointer =
wlr_relative_pointer_v1_from_resource(resource); wlr_relative_pointer_v1_from_resource(resource);
if (pointer == NULL) { if (pointer == NULL || seat->seat != pointer->seat) {
continue; continue;
} }