mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
Remove pointer resource from relative pointer
This commit is contained in:
parent
d0c940d796
commit
f5ea393bca
3 changed files with 7 additions and 3 deletions
|
|
@ -327,7 +327,13 @@ static void notify_relative_motion(struct roots_seat *seat, uint64_t time_msec,
|
|||
|
||||
wlr_relative_pointer_v1_send_relative_motion(pointer, time_msec,
|
||||
dx, dy, dx_unaccel, dy_unaccel);
|
||||
wl_pointer_send_frame(pointer->pointer);
|
||||
}
|
||||
|
||||
wl_resource_for_each(resource, &client->pointers) {
|
||||
if (wlr_seat_client_from_pointer_resource(resource) == NULL) {
|
||||
continue;
|
||||
}
|
||||
wl_pointer_send_frame(resource);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue