mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-26 19:39:49 +01:00
Only send relative motion to correct seat
This commit is contained in:
parent
09bdbf24f4
commit
d0c940d796
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue