desktop-shell: use weston_pointer_send_axis
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
committed by
Jonas Ådahl
parent
64d78bba9c
commit
1118952e14
@@ -3303,13 +3303,7 @@ static void
|
|||||||
popup_grab_axis(struct weston_pointer_grab *grab,
|
popup_grab_axis(struct weston_pointer_grab *grab,
|
||||||
uint32_t time, uint32_t axis, wl_fixed_t value)
|
uint32_t time, uint32_t axis, wl_fixed_t value)
|
||||||
{
|
{
|
||||||
struct weston_pointer *pointer = grab->pointer;
|
weston_pointer_send_axis(grab->pointer, time, axis, value);
|
||||||
struct wl_resource *resource;
|
|
||||||
struct wl_list *resource_list;
|
|
||||||
|
|
||||||
resource_list = &pointer->focus_resource_list;
|
|
||||||
wl_resource_for_each(resource, resource_list)
|
|
||||||
wl_pointer_send_axis(resource, time, axis, value);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user